Hi Hugh,

With this sample:

http://www.nabble.com/file/7908/ComboBoxEx_2.html ComboBoxEx_2.html 

The layout of the combo isn't right.

Diagnostic:

In the firebug console we see:

  combo.getWidth() == 'auto'
  combo.getField().getWidth() == 'auto'
  combo.getButton().getWidth() == 'auto'


Solution

If we call in the console this:

combo.setWidth('100%');  // Alternatively we can use combo.setWidth(100), as
100==the width of the column
combo.getField().setWidth('1*');
qx.ui.core.Widget.flushGlobalQueues();

Then it is rendered ok!   :-)

Hope this helps


Hugh Gibson wrote:
> 
>> I'm also investigating this issue.
>> I can reproduce it.
>> I have commented out the minWidth and width in the classic 
>> appearance, and
>> still have the same problem.
> 
> Shall I raise some issues to cover the items concerned? 
> 
>  - layout
>  - width of dropdown
>  - extra selection with keyboard
> 
> Hugh
> 
> -------------------------------------------------------------------------
> 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
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Problems-with-ComboBoxEx-width-and-content-of-the-field-tf3565510.html#a10030813
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
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