Re: [gtk-list] Re: BUG in gtk_scrolled_window ?



Lee wrote:
> 
> Owen Taylor wrote:
> >
> > Lee <drazka@geocities.com> writes:
> > > However, once I add the list/ctree to the scrolled window container, any
> > > events that occur, including clicking on an item, resizing the main
> > > program window, or expanding a tree, seems to increase the _horizontal_
> > > logical size of the scrolled window. This has the undesired effect of
> > > shrinking the horizontal scrollbar by more and more the longer the
> > > application is being used.

You didn't set the CTree column width (using the new auto_resize is better):

   ctree = gtk_ctree_new (1, 0);
   gtk_widget_show (ctree);
   gtk_clist_set_column_auto_resize (GTK_CLIST (ctree), 0, TRUE);

Damon




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