Hi,

Today I began to use DialogBox ui component. So when I try to set css style
for my dialog box ( I have just one, so I use the generic style (for all
dialogs box)). But it doesn't work. I have a dialog that appears at the
corner of screen, with transparent background, on other words my css style
wasn't applied.

I applied styles in others component. I've tried some explanations founded
at Web (Google), before appeal to the list.

This is my code:

public class DialogSelecionarTutorial extends DialogBox {

    private Panel rootPanel;
    private Panel pnlBarraFerramentas;
    private FlexTable tabTutoriais;

    public DialogSelecionarTutorial() {
        this.setTitle("Selecionar tutorial");

        pnlBarraFerramentas = new HorizontalPanel();


        tabTutoriais = new FlexTable();
        tabTutoriais.setWidget(0, 0, new HTML("0"));
        tabTutoriais.setWidget(0, 0, new HTML("Descricao do tutorial"));

        rootPanel = new VerticalPanel();
        rootPanel.setStyleName("rootPanel");
        rootPanel.setWidth("400px");
        rootPanel.setHeight("400px");
        rootPanel.add(pnlBarraFerramentas);
        rootPanel.add(tabTutoriais);

        add(rootPanel);
    }

}

my style sheet:

.rootPanel {
    border: solid 2pt black;
    background-color: #FFFFFF;
}


--------------------------------------------
EMERSON C. LIMA

Desenvolvedor Delphi e Java
SoftBuilder Informática - Fortaleza, CE

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to