Saturday, December 12, 2015

Re: VerticalPanel in DockLayoutPanel

Only the center will auto size. The west, and other sides have to be given a fixed size.

On Friday, December 11, 2015 at 5:15:40 PM UTC-5, Roberto Attias 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment