[pygtk] problem with IconView

Santhosh santhoshmani at gmail.com
Fri Apr 21 12:00:14 WST 2006


> Indeed the words of this text are truncated to comply with the "item-width"
> property, which I don't find very nice.

The words will not be truncated and it will wrap around and you will
get many lines. This was the case when I executed your sample code in
my macine (FC4).

> A solution would be to choose an 'item-width' larger than the length of the
> the largest 'label', but this won't look good if I have rather long
> 'labels', will it ?

You may need to select a reasonably larger item-width. If you can not
afford wrap-arounds then you can choose different layout (HORIZONTAL)
and have the item-width greater. I dont think that horizontal layout
look horrible with more item-width.

Regards,
Santhosh.


More information about the pygtk mailing list