From 6d57f08ac09b2972130f549fea4abf3c7e2e5681 Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Tue, 16 Apr 2013 22:18:47 +0000 Subject: [PATCH] 6623: funny GUI report-language display svn: r22005 --- gramps/gui/plug/_guioptions.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gramps/gui/plug/_guioptions.py b/gramps/gui/plug/_guioptions.py index b811576ac..b517dd399 100644 --- a/gramps/gui/plug/_guioptions.py +++ b/gramps/gui/plug/_guioptions.py @@ -499,8 +499,9 @@ class GuiEnumeratedListOption(Gtk.HBox): evtBox = Gtk.EventBox() self.__option = option self.__combo = Gtk.ComboBoxText() - self.__combo.set_popup_fixed_width(False) - self.__combo.set_wrap_width(3) + if len(option.get_items()) > 18: + self.__combo.set_popup_fixed_width(False) + self.__combo.set_wrap_width(3) evtBox.add(self.__combo) self.pack_start(evtBox, True, True, 0)