Well easy, just use a layout widget instead of HTML widget. For example, FlowPanel fp = new FlowPanel(); fp.add(new Text()); fp.add(new Button("Press me")); p.add(fp, "Text and Button");
On Mar 30, 6:15 am, Kurt_Sultana <kurtanat...@gmail.com> wrote: > Hi! > > I'm experimenting with TabLayoutPanel... basically what I want to do > is attach an HTML page with its widgets etc... for each tab. > > So far I have managed this: > > TabLayoutPanel p = new TabLayoutPanel(1.5, Unit.EM); > p.add(new HTML("Twitter Configuration"), "Twitter"); > p.add(new HTML("MySQL Configuration"), "MySQL"); > > RootLayoutPanel rp = RootLayoutPanel.get(); > rp.add(p); > > But I'm only associating some basic html with the tabs.... > > How can I achieved what I wish plz? Bdw I've just started using google > web toolkit right so sry if I'm asking something simplistic. > > Thanks and regards, > Krt_Malta -- 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.