You might want to check the javadoc: http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/client/ui/HorizontalPanel.html#setHorizontalAlignment(com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant)
this method changes the align attribute value on the tds, try it out and look at the source code for it, it will give you some nice insights into what's going on behind the scenes ;) Cheers, Salvador On Apr 17, 10:49 pm, badgerduke <[email protected]> wrote: > Hello: > > I am working with a HorizontalPanel and trying to style the generated > table cells. GWT automatically inserts "align=left" on the tds, > making it impossible to style this property. > > Now I 've been trying to use: > > buttonPanel.setCellHorizontalAlignment(upButton, > HorizontalPanel.ALIGN_RIGHT); > > with "upButton" being a Button within the cell and "buttonPanel" being > the HorizontalPanel, but this has no effect on the outcome. Can > anybody give me a hand? > > Thanks > Eric --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
