Hi Martin,
Hi Christian,

good news, I'm not totally stupid 

Surley I found and tested the flex parameter but I didn't work yesterday.

The reason is my green test-widget for the Content/Scroll Area.

It seems only to work width:

    minHeight: 400,
    maxHeight: 400,
    backgroundColor: "green"

http://demo.qooxdoo.org/current/playground/#%7B%22code%22%3A%22var%2520container%2520%253D%2520new%2520qx.ui.container.Composite%28%29%253B%250A%250Avar%2520layout%2520%253D%2520new%2520qx.ui.layout.VBox%282%252C%2522top%2522%252C%2522main%2522%29%253B%250A%250Acontainer.setLayout%28layout%29%253B%250A%250A%250Acontainer.add%28new%2520qx.ui.core.Widget%28%29.set%28%257B%250A%2520%2520%2520%2520height%253A%252030%252C%250A%2520%2520%2520%2520backgroundColor%253A%2520%2522red%2522%250A%2520%2520%257D%29%29%253B%250A%2520%2520%250A%2520%2520%250Avar%2520scroll%2520%253D%2520new%2520qx.ui.container.Scroll%28%29%253B%250A%250A%2520%250A%250Ascroll.add%28new%2520qx.ui.core.Widget%28%29.set%28%257B%250A%2520%2520%2520%2520minHeight%253A%2520400%252C%250A%2520%2520%2520%2520maxHeight%253A%2520400%252C%250A%2509%2520%2520backgroundColor%253A%2520%2522green%2522%250A%2520%2520%257D%29%29%253B%250A%2520%2520%250A%2520%2520container.add%28scroll%252C%2520%257Bflex%253A%25201%257D%29%253B%250A%2509%2509%250A%250Athis.getRoot%28%29.add%28container%252C%2520%257Bedge%253A%25200%257D%29%253B%22%2C%20%22mode%22%3A%22ria%22%7D
Working Demo 

    height: 400,
    backgroundColor: "green"

makes always a height of 100%

http://demo.qooxdoo.org/current/playground/#%7B%22code%22%3A%22var%2520container%2520%253D%2520new%2520qx.ui.container.Composite%28%29%253B%250A%250Avar%2520layout%2520%253D%2520new%2520qx.ui.layout.VBox%282%252C%2522top%2522%252C%2522main%2522%29%253B%250A%250Acontainer.setLayout%28layout%29%253B%250A%250A%250Acontainer.add%28new%2520qx.ui.core.Widget%28%29.set%28%257B%250A%2520%2520%2520%2520height%253A%252030%252C%250A%2520%2520%2520%2520backgroundColor%253A%2520%2522red%2522%250A%2520%2520%257D%29%29%253B%250A%2520%2520%250A%2520%2520%250Avar%2520scroll%2520%253D%2520new%2520qx.ui.container.Scroll%28%29%253B%250A%250A%2520%250A%250Ascroll.add%28new%2520qx.ui.core.Widget%28%29.set%28%257B%250A%2520%2520%2520%2520height%253A%2520400%252C%250A%2509%2520%2520backgroundColor%253A%2520%2522green%2522%250A%2520%2520%257D%29%29%253B%250A%2520%2520%250A%2520%2520container.add%28scroll%252C%2520%257Bflex%253A%25201%257D%29%253B%250A%2509%2509%250A%250Athis.getRoot%28%29.add%28container%252C%2520%257Bedge%253A%25200%257D%29%253B%22%2C%20%22mode%22%3A%22ria%22%7D
broken Demo 

And only a maxHeight makes no Scrollbars apear if the Browser Window is
smaller than the green Area

    maxHeight: 400,
    backgroundColor: "green"

http://demo.qooxdoo.org/current/playground/#%7B%22code%22%3A%22var%2520container%2520%253D%2520new%2520qx.ui.container.Composite%28%29%253B%250A%250Avar%2520layout%2520%253D%2520new%2520qx.ui.layout.VBox%282%252C%2522top%2522%252C%2522main%2522%29%253B%250A%250Acontainer.setLayout%28layout%29%253B%250A%250A%250Acontainer.add%28new%2520qx.ui.core.Widget%28%29.set%28%257B%250A%2520%2520%2520%2520height%253A%252030%252C%250A%2520%2520%2520%2520backgroundColor%253A%2520%2522red%2522%250A%2520%2520%257D%29%29%253B%250A%2520%2520%250A%2520%2520%250Avar%2520scroll%2520%253D%2520new%2520qx.ui.container.Scroll%28%29%253B%250A%250A%2520%250A%250Ascroll.add%28new%2520qx.ui.core.Widget%28%29.set%28%257B%250A%2520%2520%2520%2520maxHeight%253A%2520400%252C%250A%2509%2520%2520backgroundColor%253A%2520%2522green%2522%250A%2520%2520%257D%29%29%253B%250A%2520%2520%250A%2520%2520container.add%28scroll%252C%2520%257Bflex%253A%25201%257D%29%253B%250A%2509%2509%250A%250Athis.getRoot%28%29.add%28container%252C%2520%257Bedge%253A%25200%257D%29%253B%22%2C%20%22mode%22%3A%22ria%22%7D
Broken Demo 2 

*That* was my problem ;)
Does someone know why the qx.ui.core.Widget does such strange things?

I expected that it woul be working with only a height or at last even just
the maxHeight...

Regards

Marc

--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Scroll-and-100-height-tp7197903p7201784.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

Reply via email to