Monday, September 23, 2013

Re: Style problems with Firefox+LayoutPanel



Le lundi 16 septembre 2013 14:29:10 UTC+2, vincent vigon a écrit :

ListBox (add on a LayoutPanel) has a weird behavior with fireFox (23.0.1), not with Chrome and Safari.

Here is my simple code :

public void onModuleLoad(){

ListBox list= new ListBox(false);

RootLayoutPanel.get().add(list);

RootLayoutPanel.get().setWidgetLeftWidth(list,0,Unit.PCT,50,Unit.PCT);

for (int i=0;i<100;i++){

list.addItem("item "+i);

}

}


The result is weird with FireFox (see joint screen-shot) : the list does not occupy 50% of the width, but it occupies 100% of the height.

It seems that the Layout Mechanism does not work on Firefox.

It is probably a problem with Css because I have a second problem (probably linked) : on firefox, all my drawing on canvas are black (no colors). 


Thank you for helping me

Vincent





--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment