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,6 +499,7 @@ class GuiEnumeratedListOption(Gtk.HBox):
evtBox = Gtk.EventBox() evtBox = Gtk.EventBox()
self.__option = option self.__option = option
self.__combo = Gtk.ComboBoxText() self.__combo = Gtk.ComboBoxText()
if len(option.get_items()) > 18:
self.__combo.set_popup_fixed_width(False) self.__combo.set_popup_fixed_width(False)
self.__combo.set_wrap_width(3) self.__combo.set_wrap_width(3)
evtBox.add(self.__combo) evtBox.add(self.__combo)