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

Re: Problems with ComboBoxEx width and content of the field

by Hugh Gibson :: Rate this Message:

Reply to Author | View in Thread

> The other problem is with the width of the ComboBoxEx widget.

I also have a problem with this, with a ComboBoxEx within a grid. It's at the right-hand side of the grid, and the buttons outside of the grid mean that scrollbars are added to the grid by the browser. Not what I want in a dialog box!

If I set the grid column to a width of 200 pixels, the drop-down button remains at the same point but the edit box extends underneath it for the whole width:

+---------+---+------------+
|         | v |            |
+---------+---+------------+

This is probably related to the Classic appearance having:

  "combo-box-ex-text-field" : {
    <snip>
    initial : function(vTheme) {
      return qx.lang.Object.mergeWith(vTheme.initialFrom("text-field"), {
        border : qx.renderer.border.BorderPresets.getInstance().none,
        minWidth : 30,
        width : 100,

It makes it very difficult to use the combo box in a dialog, if you are trying to automatically layout the dialog rather than setting absolute positions.

> Also, how can I change the width of the drop-down list?

I would also like to know this.

Also, the key sequence alt + down arrow will open the drop-down list as normal (in Windows) but it also results in the next item being selected in the list.
       
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@...
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

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