Alex D. schrieb:
> Thx for the fast answer, Sebastian,
>
> i tried folowing:
> combo1 = new qx.ui.form.ComboBox;
> combo1._popup.setWidth("auto");
> combo1._list.setWidth("auto");
> combo1.add(new
> qx.ui.form.ListItem("aaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbc"));
> so i expect the popup autosize itself in order to show me the whole
> text. But it doesn't work. What do i make wrong?
Good question. I have no idea currently.
Sebastian
>
> Regards,
> alex.d
>> Hi Alex!
>>
>> Sorry, this isn't possible. The ListItem itself is not a child of the
>> ComboBox, but of a List, which itself is stored in a Popup. You can
>> auto-size the Popup and the List, but this doesn't sync the width of
>> the ComboBox itself. The reason is, that the Popup is a child of the
>> ClientDocument and not a child of the ComboBox.
>>
>> Cheers,
>>
>> Sebastian
>>
>>
>> Alex D. schrieb:
>>> Hi,
>>>
>>> if there any way ComboBox automatically changes it's width in order
>>> to display long ListItems properly(if i don't know the width of the
>>> longest ListItem)?
>>> combo1 = new qx.ui.form.ComboBox;
>>> combo1.setWidth("auto");
>>> combo1.add(new
>>> qx.ui.form.ListItem("aaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbc"));
>>>
>>> Regards,
>>> alex.d
>>>
>>>
>>> -------------------------------------------------------------------------
>>>
>>> Using Tomcat but need to do more? Need to support web services,
>>> security?
>>> Get stuff done quickly with pre-integrated technology to make your
>>> job easier
>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>>> Geronimo
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> _______________________________________________
>>> qooxdoo-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel