I am currently developing an application where GWT has been the
primary API. So far things have gone fairly well until I began trying
to implement a data entry portion. I am experience strange behavior
with FlexTable where if I use
FlexTable.setText(0, 0, "foo");
FlexTable.setText(0, 1, "bar");
The data shows up as intended. However if I do
FlexTable.setWidget(0, 0, new Label("FooBar"));
FlexTable.setWidget(0, 1, new TextBox());
suddenly the components are not appearing on the screen. I cannot
figure out why setText data appears, but setWidget does not want to
render. I experienced the same behavior using Grid as well, so I am
at the point where I feel like I have missed something obvious. I
feel like I have tried everything, such as TextBox.setVisible() ,
TextBox.setVisibleSize("5"), FlexTable.setWidth("100%").
This really makes no sense. As for the other Widgets/Panels that are
being used see the following:
Specifically I am adding the FlexTable to a VerticalPanel, which is
then being added to a DockPanel.
i.e.
VerticalPanel.add(FlexTable);
DockPanel.add(VerticalPanel, DockPanel.CENTER);
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---