Hi Jagget,

sorry, I forget about that some users my use this "forum" as a mailing-list
with plain-text 

Hoverever, I find a solution and I want tho share it with you.

First, I played with the source code from the Qooxdoo Widget Browser and I
fount out that Widget Browser solution is far away from perfekt. After I
reduzed the min-size to 200px I didn't get any Scroll Panels after the
content is bigger than the min-size.

I did a Screenshot: http://imm.io/eY5e

You see, the Boxes in the TabPage are just vanishing.

The solution from the Qooxoo Widget Browser is only working if your content
is never higher than the defined min-size (orginal in the Widget Browser
around 800px).


Well, I found a very interesing (but old) thread in this forum:
http://qooxdoo.678.n2.nabble.com/Scroll-question-problem-td1679852.html

The pattern descriped in that thread is still working.

The trick is very simple.

I used:

Composite(VBox)
  -> header
  -> Scroller
    -> TabView()
      -> TabPage()
        ->VBox()
          -> Widget()

But the trick seems to be to add an additional Composite(VBox) for the
Scroller (!)

Composite(VBox)
  -> header
  -> Scroller
    *-> Composite(VBox)*
      -> TabView()
        -> TabPage()
          ->VBox()
            -> Widget()

Here is the working Demo:
http://demo.qooxdoo.org/current/playgrou
nd/#%7B%22code%22%3A%22%250A%250Avar%252

If you increase the TextArea with a lot of "Enter"s you will see that well
working scrollbar will apear if the TextArea will became bigger than your
Browser Window.

I don't unterstand why this only works correct with the second
Composite(VBox), but it seems to work very nice ;)

I hope this may help you guys, too.

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

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
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-dev2
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to