changeset 18443:92f845cd977c

Fix the initial size of a combobox.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 06 Jul 2007 05:31:01 +0000
parents 6d8aed4adcd6
children daf41b214ffb
files finch/libgnt/gntcombobox.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/finch/libgnt/gntcombobox.c	Fri Jul 06 05:25:39 2007 +0000
+++ b/finch/libgnt/gntcombobox.c	Fri Jul 06 05:31:01 2007 +0000
@@ -107,7 +107,7 @@
 		GntWidget *dd = GNT_COMBO_BOX(widget)->dropdown;
 		gnt_widget_size_request(dd);
 		widget->priv.height = 3;   /* For now, a combobox will have border */
-		widget->priv.width = MAX(10, dd->priv.width + 4);
+		widget->priv.width = MAX(10, dd->priv.width + 2);
 	}
 }