diff console/libgnt/gntcombobox.c @ 14091:ae4cbed1b309

[gaim-migrate @ 16715] Add support for tab-completion and save-history in GntEntry. Also, the keyboard-commands should now work for Xterms. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 12 Aug 2006 10:27:29 +0000
parents fa8f65cd912c
children eaf7f35635bc
line wrap: on
line diff
--- a/console/libgnt/gntcombobox.c	Sat Aug 12 10:20:19 2006 +0000
+++ b/console/libgnt/gntcombobox.c	Sat Aug 12 10:27:29 2006 +0000
@@ -79,7 +79,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 = MIN(10, dd->priv.width);
+		widget->priv.width = MIN(10, dd->priv.width + 4);
 	}
 }