Can you not get the job done with: *setWidgetMinSize*<http://www.gwtproject.org/javadoc/latest/com/google/gwt/user/client/ui/SplitLayoutPanel.html#setWidgetMinSize(com.google.gwt.user.client.ui.Widget, int)>(*Widget*<http://www.gwtproject.org/javadoc/latest/com/google/gwt/user/client/ui/Widget.html> 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> of > mySplitLayoutPanel. > > 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
