Hi folks, i have a small annoying layout issue with FlowPanel: I'm adding checkboxes to flowpanel dynamically and i would like all them(checkboxes) have the same width so each checkbox has kind of it's own "cell". The code is pretty simple:
FlowPanel fp = new FlowPanel();
fp.setWidth("500px");
for(int i=0; i<dynamic_size; i++)
{
CheckBox chb = new CheckBox("dynamic_name");
chb.setWidth("150px");
fp.add(chb);
}
And it works wonderfull in IE (6 and 7) but FF seems to ignore
chb.setWidth() declaration and places them right after another.
Any ideas for a workaround for FF (i would like to avoid using FlexTable or
Grid) would be appreciated.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---
<<inline: screen1.jpg>>
<<inline: screen2.jpg>>
