I want to display 2 widgets (for example, HTML and a button) in a
single cell of the ScrollTable (in the gwt incubator). I enclosed the
2 widgets in a  HorizontalPanel and then added the panel to the
ScrollTable using setWidget(row, column, widget). This displays what
look like partial borders (but are not) --  thin gray lines on the
bottom and right of both the HTML and the button. Is there a better
way to do this?

ScrollTable table;
HorizontalPanel p = new HorizontalPanel();
p.add(new HTML("foo"));
p.add(new Button("press here"));
table.setWidget(1, 2, p);


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to