Thanks István, This sucks, really sucks! If you want to run "best fit" gwt gui's for mobile, desktop, 16:9, 4:3, 5:4 screens then you are going to encounter serious problems. We're not facing these problems, but we will have different widget's appearing depending on ACL roles (and hence the layout will be dynamic). Parent's won't always be aware of the content that they're holding.
I know this was possible in the table base panels (pre-2.0) and perhaps I am stuck with them. But I have also not seen an example of the table based panels in UIBinder's (and no I don't want a raw html <table> please). I'll have to see what I can get working tomorrow. If I can't use table based panels in UIBinding then this sadly terminates UIBinding in our app. :'( --AH 2010/2/23 István Szoboszlai <[email protected]> > 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]<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.
