Reduce minimum width of preferences dialog
This commit is contained in:
parent
593f5a8f2b
commit
5dd88052cf
@ -40,6 +40,7 @@ import collections
|
|||||||
from gi.repository import GObject
|
from gi.repository import GObject
|
||||||
from gi.repository import Gdk
|
from gi.repository import Gdk
|
||||||
from gi.repository import Gtk
|
from gi.repository import Gtk
|
||||||
|
from gi.repository import Pango
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -968,6 +969,7 @@ class GrampsPreferences(ConfigureDialog):
|
|||||||
# set up the combo to choose the preset format
|
# set up the combo to choose the preset format
|
||||||
self.fmt_obox = Gtk.ComboBox()
|
self.fmt_obox = Gtk.ComboBox()
|
||||||
cell = Gtk.CellRendererText()
|
cell = Gtk.CellRendererText()
|
||||||
|
cell.set_property('ellipsize', Pango.EllipsizeMode.END)
|
||||||
self.fmt_obox.pack_start(cell, True)
|
self.fmt_obox.pack_start(cell, True)
|
||||||
self.fmt_obox.add_attribute(cell, 'text', 1)
|
self.fmt_obox.add_attribute(cell, 'text', 1)
|
||||||
self.fmt_obox.set_model(self.fmt_model)
|
self.fmt_obox.set_model(self.fmt_model)
|
||||||
|
Loading…
Reference in New Issue
Block a user