Re: BUG in gtk_scrolled_window ?



Damon Chaplin wrote:
> 
> 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);

Aha! Thanks.. That seems to have solved the problem.
--
Lee.
http://atlas.cs.york.ac.uk/~lrpm100/



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