Any comment from a qooxdoo guru on this area, would be greatly appreciated.
I find complicated to create resizable components nested deep in containers,
to be placed in a window.
I think that the settings of flexibility of size, ought to be stored in a
separated property to width/height, and to use that properties for the
initial size.


dperez wrote:
> 
> Hi
> 
> When I wish to create a resizable container, I do this:
> 
> var ta = new qx.ui.form.TextArea;
> ta.set({
>   minHeight: 100,
>   height: '1*'
> })
> var container = new qx.ui.layout.BoxLayout('vertical');
> container.set({
>   minHeight: 'auto',
>   height: '100%'
> })
> container.add(ta, someOtherWidget);
> 
> var win = new qx.ui.window.Window('my window');
> win.add(container);
> 
> Suppose I would desire to resize the window to a height less than 100
> pixels, how can I do that?
> I want 100 to be the initial height of the text area, not the minimum one. 
> I don't know other way of express this.
> Please, any ideas?
> 

-- 
View this message in context: 
http://www.nabble.com/Minimum-size-versus-initial-one-tf4383786.html#a12629383
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 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to