Wednesday, February 6, 2013

How to replace FlowPanel with a Panel which ProvidesResize?

Hi,

I have a simple FlowPanel which stacks some widgets:

<g:FlowPanel>
 <g:Label />
 <g:CheckBox />
 <g:MyCustomComposite />
 <g:DataGrid />
</g:FlowPanel>

As I want to also display a DataGrid, I need to change the FlowPanel to something that ProvidesResize (otherwise the datagrid does not show up).

BUT: which Panel is the right one for this? So far I could only find Panels which may only have a single child or require to specify east north south center etc.
Isn't there a simple Panel that is just capable like FlowPanel to wrap all children, but implements ProvidesResize?

Thanks

--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment