I have this little playground code http://tinyurl.com/pouvej7
In the areaB marked in blue I want to add as many buttons as possible.
Unfortunately when the buttons start to overflow the 
qx.ui.container.Composite then it gets stretched to fit the buttons. I 
want it to stay still.


I have another question that is more programming and logic related.
I hope the bright minds of this list have good ideas because it is 
driving me nuts.

What I would like is the container to stay still and the buttons to 
shrink in width so they can fit the container.

An idea is that when the buttons start to overflow then their new width 
to be set to areaB.width / numberOfButtons. But the division every time 
has a remainder of floating point number which adds up for a number of 
buttons. This leaves a huge empty space to the right while the buttons 
are squeezed to the left.

What I am trying to achieve is to emulate an operating system taskbar.
I would like to avoid the Scroll and Sidebar containers.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to