Hi Marc.

If you specify the height of the widget you basically tell the layout system: I 
as widget want to have a height of 400px. However, if the container and the 
connected layout does have e.g. 500px of available height and the layout is 
setup to grow / shrink its children, then the widget height will be adapted to 
the height of the scroll container.

The setting of "minHeight" and "maxHeight" does prevent the layout from 
stretching the widget, since it does clearly set its minimal and maximum 
height. The layout is not permitted to ignore these settings and as a result 
the height of the widget is not adapted to the height of the scroll container.

Hope this helps a bit in understanding the layout mechanism. In another 
container / layout the height of the widget can have other results, e.g a 
vertical box layout does apply the height of the widget and does not grow / 
shrink the widget.

Regards,
  Alex 


-----Original Message-----
From: Marc [mailto:[email protected]] 
Sent: Thursday, January 19, 2012 8:48 AM
To: [email protected]
Subject: Re: [qooxdoo-devel] Scroll and 100% height

Hi Jagget,

thank you for your answer. The behaving of the scrolls Container is
absolutley clear for me.
It's just the widget.
If you say e.G.
Height: 400px i execpt that the widget has 400px and not the dynamic height
of the Scrollcontainer - because this would be height: 100% (I'm a frontend
Developer, so I'm thinking in CSS ;) ).

Regards

Marc

--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Scroll-and-100-height-tp7197903p7202990.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to