[PyQt] Re: QComboBox items width

Reinaldo de Carvalho reinaldoc at gmail.com
Sat Dec 13 13:42:24 GMT 2008


On Sat, Dec 6, 2008 at 1:50 PM, Reinaldo de Carvalho
<reinaldoc at gmail.com> wrote:
> Hi,
>
> QComboBox items width are limited by QComboBox maximun size width and some text of
> items is not visible. Is possible set a different  (large) width for
> QComboBox items?
>

Someone can help me?

Example:

Now:

---------------------------------
|  QComboBox                |    <- clicked
---------------------------------
|  QComboBoxItem1      |
---------------------------------
|  QComboBoxItem2      |
---------------------------------

I Want:

---------------------------------
|  QComboBox                |    <- clicked
----------------------------------------------------------------
|  QComboBoxItem1                                                |
----------------------------------------------------------------
|  QComboBoxItem2                                                |
----------------------------------------------------------------


-- 
Reinaldo de Carvalho
http://korreio.sf.net (Now available in English)
http://python-cyrus.sf.net


More information about the PyQt mailing list