Hi,
is there a workaround for :
public void onModuleLoad() {
LayoutPanel panel = new LayoutPanel();
panel.add(new Button("Hello!"));
RootLayoutPanel.get().add(panel);
}
left: 0px; right: 0px; together do not work in Firefox 3.5.6 (top:
0px; bottom: 0px; work).
There is also the same problem with TextBox in both Firefox and IE8.
With TextBox even vertical alignment does not work.
What I found so far is http://www.quirksmode.org/css/tests/mozie_button.html,
but -moz-box-sizing: content-box; does not help. Maybe there is
something else. Button.setWidth("100%") works perfect, but it fails
for <div> elements with margin and border.
Thanks,
George.
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors