Tuesday, August 6, 2013

Re: Resize SimpleLayoutPanel issues.


1.) Is your activity's view a LayoutPanel? If not there is no need to use SimpleLayoutPanel. Just use SimplePanel instead and don't give it a height. Because its not a LayoutPanel it will adjust its height based on its content. If it is a LayoutPanel then maybe rethink if its really needed. Normally you use LayoutPanels for coarse layouts and not for such tiny widgets.

2.) Any specific reason you have chosen VerticalPanel? VerticalPanel distributes all its cells evenly (2 cells => each cell has 50% height) if you don't change that programatically. Maybe you better use FlowPanel.


-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate