dperez wrote:
> In my case, the width of the list box is determined automatically, in any
> case.
> 
> Are you calling combo.setIdColumnVisible(true)  before the combo is visible,
> i.e. the List is built?
> The table class that is used by ComboBoxEx has some problems with changing
> dynamically some properties.  If these problems aren't solved, I will
> recreate the table.
> 
> Headers are hidden automatically when there is only one column.
> You can hide them with this code:
>    combo.getList().getPaneScroller(0).getHeader().setHeight(1);
> 

Hello,

thanks for your ongoing support, I really appreciate it!

I was calling combo.setIdColumnVisible(true) before calling 
combo.setSelection(testData). I switched the order of those calls now, 
but nothing in the display changed, the width of the list is still too 
small.
Also the call of 
combo.getList().getPaneScroller(0).getHeader().setHeight(1); doesn't 
seem to have any effect and I don't know why. If I change the 
appropriate line (526) in the sourcecode for the ComboBoxEx.js to never 
display the header, then it works.
Now when the header is gone, the width of the list is suddenly ok, I 
guess it has something to do with the width of the header itself.

Regards,
Daniel Haferkorn


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