On Thu, Jul 26, 2012 at 5:30 AM, Daniel Gonzalez <gonva...@gmail.com> wrote: > > > On Thursday, July 26, 2012 12:21:43 PM UTC+2, Maho wrote: >> >> W dniu 26.07.2012 11:59, Daniel Gonzalez pisze: >> >> Sure, it is adjustable (though I do not understand your comment about >> Firebug). >> >> >> Firebug allows you to examine/inspect what objects is your widget composed >> by. > > > Sure, but I already know that. > >> >> The question that your comment arised is whether it is adjustable with >> *percent* settings. I do not think so, for two simple reasons: >> >> It is so stated in the GWT documentation :) >> >> >> :) >> >> It does not make sense to put a percent size to a ScrollPanel. Actually, >> this is a question more than an statement. The point is that the content of >> Scroll area will have probably a bigger size than the one available for it. >> So what does 100% size mean in this context? >> >> >> IMHO it means 100% size of outer container (size of scrollpanel). > > > The containing container of the scrollpanel has a size which depends on the > contained container (the scrollpanel). So 100% of undefined is undefined :)
this could be related to nesting of divs (scrollpanel) within tables cells (most other widgets) ... the crux of the issue is: tables cells can never, ever, EVER be constrained. ever. they will ALWAYS expand as needed -- percentages are undefined. i'm not sure if that's the prob off hand and i'm short on time, but i've written about this several times over the years, presenting solutions: https://groups.google.com/forum/?fromgroups#!searchin/pyjamas-dev/from:anth...@xtfx.me$20scrollpanel ... also, take a look at the `DockPanel`. -- C Anthony --