After upgrading my GWT project from 1.7 to 2.0, I found out that the
cells in my flextable are NO LONGER taking into consideration the 100%
height that I am giving . In fact here is a simplified case that shows
the problem:

    public void onModuleLoad() {
        FlexTable f = new FlexTable();

        Button b1 = new Button("Cell1");
        b1.setWidth("100%");
        b1.setHeight("100%");
        f.setWidget(0, 0, b1);
        f.getFlexCellFormatter().setRowSpan(0, 0, 2);

        Button b2 = new Button("Cell2");
        b2.setWidth("100%");
        b2.setHeight("100%");
        f.setWidget(0, 1, b2);

        Button b3 = new Button("Cell3");
        b3.setWidth("100%");
        b3.setHeight("100%");
        f.setWidget(1, 0, b3);

        f.setWidth("200px");
        f.setHeight("200px");
        f.setBorderWidth(1);

        RootPanel.get().add(f);
      }


Cells are actually expanding correctly in width (to 100%) but NOT in
height !!!!! I tested it on 2 different browsers, tried changing the
RootPanel to the RootLayoutPanel, tried fixing column sizes but always
got the same problem.

Am I missing something or is it a regression in the new GWT 2.0 ? I
really need to have 100% height values in my FlexTable!!!

Thanks

--

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