« Return to Thread: Problems with ComboBoxEx width and content of the field

Re: Problems with ComboBoxEx width and content of the field

by dperez :: Rate this Message:

Reply to Author | View in Thread

Hi Hugh,

With this sample:

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
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

 « Return to Thread: Problems with ComboBoxEx width and content of the field