[10541] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] CList size allocation

daemon@ATHENA.MIT.EDU (Szilard Hajba)
Mon Nov 30 12:33:43 1998

Date: Mon, 30 Nov 1998 18:31:54 +0100 (CET)
From: Szilard Hajba <szilu@revai.hu>
To: gtk-list@redhat.com
In-Reply-To: <Pine.SGI.3.95.981128164900.15356A-100000@paju.oulu.fi>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

Hello!

I don't really understand the working of ScrolledWindow. In my opinion a
ScrolledWindow widget is used to pack a big widget into it if the widget
is too large to display, or if the widget will grow in the future.
Yesterday I hacked the CList code to allocate all the space horizontally
that required to show all the columns in it. I did it because in my app I
use a CList without scrollbars. I thought the new CList will work in a
scrolled window even if it allocates more space. But when I started
testgtk, I saw that the CList-example pops up in a very large window.

My question is: I thought that I commit my changes to CVS, but it don't
work. I would like to know, if the problem can be solved, or should I
manually set the size of all CLists in my application. Is it really a
bug, or just I have misunderstood something?

Thanx
	$zilu

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post