Ok, as I said:

BoxLayout (left=0 and right=0 or width = 100%) with a spacing of ~5
   - TextField (width=1*)
   - Button (width=auto (is already the default here))

Sebastian



Dietrich Streifert schrieb:
> Here we go (I hope the JPG gets through sourceforge):
> 
> 
> 
> 
> The widget is at the bottom of the Window. The text field has a blue 1px 
> border.
> 
> Whenever the user resizes the window the total widget should fill the  
> width of the window and the textfield should fill the space between the 
> left side and the button.
> 
> 
> 
> 
> 
> Sebastian Werner schrieb:
>> Dietrich Streifert schrieb:
>>   
>>> Sebastian Werner schrieb:
>>>     
>>>> Alternatively you can use a BoxLayout, put the textField left, the 
>>>> button right and place a flexible element between them. Then you could 
>>>>   
>>>>       
>>> Could you please explain the flexible element a bit more?
>>>
>>> While the width of the button is constant I need to have the text field 
>>> allways fill the the space between the left side of the box layout and 
>>> the left side of the button independent from the width of the box layout 
>>> width.
>>>     
>>
>> If would say that you can simply set the width of the textfield to flex 
>> in this case (width="1*"). But may be you can also create a sketch to 
>> help me to understand you correctly.
>>
>> Sebastian
>>
>>   
>>>     
>>>> define a minWidth=auto for the BoxLayout and even define a minWidth for 
>>>> the flexible part.
>>>>
>>>> Sebastian
>>>>
>>>>   
>>>>       
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>   
> 
> -- 
> Mit freundlichen Grüßen
> Dietrich Streifert
> --
> Visionet GmbH
> Firmensitz: Am Weichselgarten 7, 91058 Erlangen
> Registergericht: Handelsregister Fürth, HRB 6573
> Geschäftsführer: Stefan Lindner
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to