6623: funny GUI report-language display

svn: r22005
This commit is contained in:
Paul Franklin 2013-04-16 22:18:47 +00:00
parent 9fc255371d
commit 6d57f08ac0

View File

@ -499,8 +499,9 @@ class GuiEnumeratedListOption(Gtk.HBox):
evtBox = Gtk.EventBox() evtBox = Gtk.EventBox()
self.__option = option self.__option = option
self.__combo = Gtk.ComboBoxText() self.__combo = Gtk.ComboBoxText()
self.__combo.set_popup_fixed_width(False) if len(option.get_items()) > 18:
self.__combo.set_wrap_width(3) self.__combo.set_popup_fixed_width(False)
self.__combo.set_wrap_width(3)
evtBox.add(self.__combo) evtBox.add(self.__combo)
self.pack_start(evtBox, True, True, 0) self.pack_start(evtBox, True, True, 0)