I will try that -- thanks. Also, thanks for the explanation of allowStretch. I did not understand that it was just a property group. That helps a lot. :)
Dave Fabian Jakobs wrote: > > dmbaggett schrieb: >> So I spent another 4+ hours yesterday doing battle with the Scroll >> container. >> I just cannot seem to get this container to work right for me. >> >> Here's my scenario. I want to put a Scroll and a Composite inside a >> Composite. I want these two to flex equally, so that each gets half the >> size. I want the Scroll to automagically put up scroll bars when its own >> contents won't fit without them. >> >> But there seem to be many problems: Scroll won't autosize to the flex >> limit. >> I tried setting the Scroll's height to null, and that doesn't work: it >> seems >> the Scroll gets too greedy, and uses way too much of the flex space, >> stealing it from its Composite sibling. >> >> And when I put a groupbox in the scroll, the vertical scroll bar doesn't >> "reach" far enough down for me to see the bottom of my groupbox; I can't >> scroll the bottom of it into view. I have to add a magic padding of 24 >> pixels for no obvious reason. >> >> I have to admit that this is my fourth time struggling with Scroll. I am >> about to throw in the towel and redesign my UI so that I don't need a >> scrolling container. :) >> >> Are there known problems with Scroll? Maybe I am assuming it does >> something >> it's not meant to do? I think a clarification of its usage would be >> really >> helpful. >> >> Dave >> > > Hi Dave, > > I think the problems you are facing result from the fact that the scroll > container has a minHeigh and minWidth of 60px. This is set in the > appearance to make sure the scroll bars remain usable. Since the scroll > container will never be smaller than 64px you sometimes see only parts > of it. Further this will override any height or width value smaller than > 64px. You should try setting the min size of the scrollbar manually to > 0. Then set the height of the inner composite and the scroll container > to the same size so flex calculation gives both widgets the same > additional space. > > I hope this helps, > > Best Fabian > > -- > Fabian Jakobs > JavaScript Framework Developer > > 1&1 Internet AG - Web Technologies > Ernst-Frey-Straße 9 · DE-76135 Karlsruhe > Telefon: +49 721 91374-6784 > [email protected] > > Amtsgericht Montabaur / HRB 6484 > Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas > Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. > Oliver Mauss, Jan Oetjen > Aufsichtsratsvorsitzender: Michael Scheeren > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > -- View this message in context: http://www.nabble.com/qx.ui.container.Scroll%3A-ARGH%21-tp25768354p25787582.html Sent from the qooxdoo-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
