Hi all,
I'll start by describing my problem. I had finished a qooxdoo page which
has several elements.
In a TabView(qx.ui.pageview.tabview.TabView), I put some elements like
Tables, TextAreas, Buttons and Lables.
All components are now arranged on page by using GridLayout with fixed
size for cells.
The problem is that the client has requested two new requirements:
1. When the Font size changes, just by reloading the page all the
elements should resize accordingly to the new font.
2. When the window resizes, on the fly elements should resize.
A solution was to use GridLayout with percents(%), but at a certain point I
get a “too much recursion” error.
I succeeded to adjust the elements size by finding the font size and then
manually set the width and height to each.
I don't know how exactly to do that, when resizing the window. I thought
that just by using percents it will work, but it seems not.
I want to know a “best way to do it” or some hints for this problem and if
GridLayout substitution with BoxLayout , could be used to arrange elements
in a desired order, or any other information that can help me with this
problem.
I have the feeling that with BoxLayout it will be more difficult when
arranging elements. Am I right?
Thanks in advance!
Viorel.
--
View this message in context:
http://www.nabble.com/What-layout-to-choose-in-order-to-draw-a-sizable-GUI--tp17364220p17364220.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel