Re: How to “setWidgetSize” for Central Widget in SplitLayoutPanel?
Can you not get the job done with: setWidgetMinSize(Widget child, int minSize)
On Wednesday, October 16, 2013 5:34:32 AM UTC-4, Tom wrote:
Ok, i have a
centralHTML
that was put inside the<g:center>
ofmySplitLayou
.tPanel In UiBinder:
<g:SplitLayoutPanel ui:field="mySplitLayoutPanel"> <g:west size="200"> <g:HTMLPanel ui:field="westHTML" /> </g:west> <g:center> <g:HTMLPanel ui:field="centralHTML" /> </g:center> </g:SplitLayoutPanel>
This code works fine
mySplitLayoutPanel.
setWidgetSize(westHTML,200) Ok, suppose the users drag the splitter to the right so that
centralHTML
becomes invisible. Then, to make the centralWidget visible we have to use :mySplitLayoutPanel.
setWidgetSize(centralHTML,200) // but this doesn't work Some people say just set the size of the west Widget & the central one will automatically show up. But i don't want to do that, instead i just want to set the widget size of the central widget only. So,
How to "setWidgetSize" for Central Widget in SplitLayoutPanel?
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