Monday, February 22, 2010

Can UIBinding's "auto-fit" LayoutPanel components?

Hi Guys,

The LayoutPanels typically take in a (sizing) unit (like PX or PC or
EM) and a discrete size for each component, like:

<ui:UiBinder>
<g:DockLayoutPanel unit='PX'>
<g:north size='64'>
<g:Label text="Example"></g:Label>
</g:north>
</g:DockLayoutPanel>
</ui:UiBinder>

But what if I don't want to set a discrete size (whatever the unit),
and I want the <g:north> to "auto fit" whatever is placed within the
north component?

Cheers.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate