As Luke said - you have to provide explicit sizes for north/south/east/west widgets.
Here are 3 ways to do it when you want your widgets to be naturally sized and the center widget to take the available space.a) Copy the HeaderPanel widget to the same classpath (com.google....) on your project. Rename it to HorizontalHeaderPanel.
On Fri, Dec 11, 2015 at 6:32 PM, Roberto Attias <rattias2217@gmail.com> wrote:
Hi,--I have a VerticalPanel containing 100 buttons with label "Component"+idx wrapped by a ScrollPanel. the ScrollPanel is added as West component of a DockLayoutPanel, and a canvas is added to the center.I would have expected the LayoutPanel to automatically size the ScrollPanel so that the entire horizontal extent of the vertical panel is visible, but that's not the case and my button are cut. is there a way to automatically size horizontally the vertical panel to fit the entire horizontal extent of its content?Thanks!
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
--
Vassilis Virvilis
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment