Alexander Back wrote: > Hi Kenny, > > Kenny Tilton wrote: > >>Kenny Tilton wrote: >> >>>Derrell Lipman wrote: >>> >>> >>>>On Sat, Nov 29, 2008 at 11:08 PM, Kenny Tilton >>>><[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: >>>> >>>> I have a Label with rich=true holding a load of HTML in a smaller Scroll >>>> but I am not getting scroll bars. >>>> >>>> >>>>Ken, I believe you'll have better luck if you use an Atom instead of a >>>>Label. >>> >>>Thx for pitching in. But no, same behavior. And the Grow doc specifies >>>that it respects min/max, suggesting by omission that it does indeed >>>ignore everything else, including allowGrowX/Y. >>> >>>Anyway, a set of the min to the height-for-width did the trick, moving on... >> >>Ah, but that will not automatically track resizing of the container. >>I'll try a VBox/flex combo instead of Grow. >> >>But I think Grow can reasonably not descend into the contents of a >>Scroll, no? Maybe I'll try hacking the Grow logic first. Stay tuned. > > > If you need a container with scrollbars you can take a look at the > already available "qx.ui.container.Scroll" class ( -> > http://demo.qooxdoo.org/current/apiviewer/#qx.ui.container.Scroll ). > Maybe this widget suits your needs. >
Thx, Alexander. I was using a Scroll widget but there were no scroll bars displayed because it thought the contents were not too big to fit in the scroll pane. The Firebug inspector confirmed the Scroll's understanding. The problem was that an ascendant Grow layout was dynamically modifying the height of the too-large widget (an embed.HTML in fact). Examination of the relevant code suggests only min/maxHeight are respected under a Grow layout, and that is how I worked around the problem. cheers, ken -- http://www.theoryyalgebra.com/ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
