I can't find ScrollTable widget in GWT's library. Is that your custom widget? What is its parent class? If you use ScrollPanel as the holder of HorizontalPanel, the dummy label cannot be added for ScrollPanel. Instead, the width of child widget of HorizontalPanel should be given, and simply set HorizontalPanel's alignment is enough.
Could you post some of your codes? It will be helpful to find out what's the problem. Kevin On Tue, Dec 23, 2008 at 6:06 PM, dduck <[email protected]>wrote: > > On Dec 22, 2:13 pm, "Kevin Tarn" <[email protected]> wrote: > > You can add a dummy Label object into right most side, and setCellWidth > of > > label widget to 100%. > > A good suggestion, but it doesn't fix the real problem. > > The table is a ScrollTable with the following style in the CSS > > > .gwt-ScrollTable { > border-color: #aaa; > border-style: solid; > border-width: 1px 0px 1px 1px; > } > > <etc> > > That's the default style for the ScrollTable. > > The solid border style apparently means that internally in the cell > the solid border is inherited into my widget - a HorizontalPanel that > I add the images to. Hence, the images are separated by a bit of white > space and a solid, vertical line. > > Anders > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
