RE: h-scrollbar with clist/ctree bugs (was: gtk bug)




On 09-Aug-98 Stuart Parmenter wrote:
> The space from the h-scrollbar is still reserved and allocated, even if it is
> not shown.  This can be seen in the two images in the previous email i sent.

Yes, strange. There seems to be a bug in gtk_clist_size_allocate ... Have to
search a little bit.
 
> also, GTK_CLIST(ctree)->rows and GTK_CLIST(ctree)->row_height don't seem to
> be
> correct.  I'm trying to multiply these together to get a height to set the
> ctree to so that it doesn't need to scroll.. i know i'd need to play with
> this
> value a little bit (add padding, etc), but i'm getting 0 for row_height.  Any
> ideas on this?

row_height is set if you call gtk_clist_set_row_height, or after clist is
realized. ... gtk_widget_size_request sets row_height too.

bye,
  Lars



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