I have a 'tool' that I am porting from .7 that is in need of using the
qx.ui.container.Scroll control but am having trouble getting it to do what I
want. In all the examples I have seen, when the scroll is created it's size
is set to a predetermined size. I don't have that luxury. What I have is a
Dock control that has a couple of HBox panels docked 'north' and a couple of
HBox panels docked 'south' and I want the Scroll to take up all available
space in the middle. When I tried to dock it and not provide any location
information aside from 'edge:north' it fills from left to right, but seems
to have a default height of around 200 so my content is forced to scroll in
a small strip. If I try and add it to the Dock using 'edge:center' I don't
get any scroll panel at all. If I try and use 'edge:"north", flex:1' or
'edge:"center", flex:1' I also don't get anything. What is the preferred way
to get a scrolling region in the center of my page? There is nothing to the
right or left just to the top and bottom.

It looks like this:

----------------------------------------
|  Dock panel (fills entire screen)
| -------------------------------------
| |    HBox  (fixed height) edge:north
| ------------------------------------
| |    HBox  (fixed height) edge:north
| -------------------------------------
| |    Scroll  (variable height)
| |
| |    this region needs to both grow taller or shorter depending on the
screen size
| |    and the heights of the HBoxes and it need to scroll it's contents
| |
| |
| ------------------------------------
| |   HBox  (fixed height)  edge:south
| -------------------------------------
| |   HBox  (fixed height)  edge:south
| ------------------------------------
--------------------------------------

I am open to any suggestions.

Thanks,
Jim
------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to