Hello,

This was also my biggest problem with the GWT layout system I am afraid It
does not support dynamic resizing of divs depending on it's content.

It somewhat makes sense, as if you use simple FlowPanels then that resizes
itself.

Still I would also very well use a Layout system that supports dynamic
resizing depending on content. The most obvious field of use for this is
replacing the (so much hated) table components with floated divs.

So I think this is a good feature request form the GWT team:)

Best - Istvan

Best Regards
- István Szoboszlai
[email protected] | inepex.com


On Tue, Feb 23, 2010 at 6:25 AM, ahhughes <[email protected]> wrote:

> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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

Reply via email to