Has anyone has any success in adding a widget, rather than simple text to a TabLayoutPanel tab ? (i.e using add(Widget child, Widget tab))
Something like this: TabLayoutPanel.add(new FlowPanel(), new CheckBox("blah")); TabLayoutPanel.add(new FlowPanel(), new Button("blah")); TabLayoutPanel.add(new FlowPanel(), "blah"); When I do this, the checkbox widget doesn't display in the correct place. There's about a 4px gap below it, so it doesn't line up correctly with the actual deck panel. I've tried creating a custom Composite, mucked around with CSS, and looked at the source but can't figure out why it doesn't line up properly. (I actually want to create a tab with some text and an "X" image/button so the user can close the tab). -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.