Zach/Grundle/Whatever, The setup you describe works perfectly OK.
If posters to this group don't post real code which exhibits the behaviour they are complaining of, then it wastes the time of anyone trying to help and also reduces their chance of being helped the next time. "Wolf!" and all that. Ian http://examples.roughian.com 2008/9/29 Grundle <[EMAIL PROTECTED]> > > After trying the suggestion to use pixels instead of percent in the > flexTable.setWidth() method I have determined that the same error as > before repeats. > > flexTable.setText(0, 0, "foo"); > > appears easily, but any instance of > > flexTable.setWidget(0, 0, new Label("foobar)); > > where anything is put into the Widget, will not appear. > > Any thoughts or advice? > > On Sep 29, 11:45 am, Grundle <[EMAIL PROTECTED]> wrote: > > Srini, > > > > Thanks I will try that and let you know what happens. This still does > > not adequately explain to me why a Text portion will show up, but not > > a widget, including a Label widget that contains text. What is > > different about setText and setWidget that a pixel width setting would > > make a noticeable difference? > > > > -Zach > > > > On Sep 29, 11:28 am, Srini Marreddy <[EMAIL PROTECTED]> wrote: > > > > > Try setting FlexTable width in pixels instead of 100%.(Some times 100% > > > of nothing is 0px depending on your layout) > > > > > flexTable.setWidth("200px"); > > > > > -Srini > > > > > On Sep 29, 9:59 am, Grundle <[EMAIL PROTECTED]> wrote: > > > > > > 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 Google-Web-Toolkit@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---