Resize bug in clist?

I discovered that when I resize the titles in a clist, the clist
sometimes resizes vertically. Is this a bug or correct behaviour?

I'm using glib/GTK+ 1.2.5.

Some sample code is attached below.

Andreas Persenius |   |
/* - Resize the window, preferably increasing the height of the window.
 * - Resize the left clist title so that the clist must resize itself
 *   horisontally.
 * - Now watch as the window and clist returns to the original height.

#include <gtk/gtk.h>

int main(int argc, char *argv[])
	GtkWidget	*window;
	GtkWidget	*clist;
	gchar	*titles[] = {
		"A title",
		"Another title",
		NULL };
	gtk_init(&argc, &argv);

	window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
	clist = gtk_clist_new_with_titles(2, titles);
	gtk_container_add(GTK_CONTAINER(window), clist);



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