Thanks Jim, it isn't a bad idea.
But I'm sure a more clean way of doing it must exist.  It's a very usual
situation, when you wish an initial state that can be resized smaller or
bigger.
For example in Swing (java) each widget apart from the minimum, maximum,
preferred and current size, have a resize scalability setting.  The problem
is that with qooxdoo the concept of current size is mixed with the concept
of scalability settings, example :  height:'1*'


Jim Hunter-2 wrote:
> 
> How about adding an event listener for Appear to the textarea and remove
> the
> minHeight from it at that time. This way it is drawn at min 100 then the
> requirement is removed once it is displayed?
> 
> Jim
> 
> 
> On 9/5/07, dperez <[EMAIL PROTECTED]> 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#a12497075
>> Sent from the qooxdoo-devel mailing list archive at Nabble.com.
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >>  http://get.splunk.com/
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Minimum-size-versus-initial-one-tf4383786.html#a12517103
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to