Re: [gtk-list] Re: Optimum way to set the width of a clist

Do a gtk_widget_set_usize() on the window or the clist widget. Strangely
this only needs to be done once (for example when you show the widget
the first time).

>         This works. But then there are another problem. How can I to limit the size of
> the scrolled window ? If the clist is too big the result window is bigger than
> screen.
>         I have tried to catch the configure, size_request/allocate events and, if the
> width is greater than i.e. 1280, setting a fixed width of 1280 and horizontal
> scroll policy to AUTOMATIC.
> The result is ugly, the window resizes itself to the minimum size of clist ...
>         Thanks,
>                 - José Miguel

Geert Bevin -
Montenegrostraat 11      1060 Brussels
BELGIUM                   0477/302.599
>>  Idealists have to communicate  <<

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]