console/libgnt/gntbutton.c

changeset 13992
a6bbcc09c4eb
parent 13969
0541f389442e
child 14005
198d1658b390
--- a/console/libgnt/gntbutton.c	Fri Jul 07 21:57:15 2006 +0000
+++ b/console/libgnt/gntbutton.c	Sat Jul 08 02:11:11 2006 +0000
@@ -71,6 +71,8 @@
 {
 	GntButton *button = GNT_BUTTON(instance);
 	button->priv = g_new0(GntButtonPriv, 1);
+
+	GNT_WIDGET_SET_FLAGS(GNT_WIDGET(button), GNT_WIDGET_GROW_X); /* Can be resized sideways */
 	DEBUG;
 }
 

mercurial