force max width to 250px only when initializing the treeview. Fixes #7446
This commit is contained in:
parent
619500c3d4
commit
b643e00f89
|
@ -117,7 +117,9 @@ class AdvancedConfigurationWindow(object):
|
|||
col.set_cell_data_func(renderer_text, self.cb_value_column_data)
|
||||
|
||||
col.props.resizable = True
|
||||
# set max width only for initializing the treeview.
|
||||
col.set_max_width(250)
|
||||
gobject.idle_add(col.set_max_width, -1)
|
||||
|
||||
renderer_text = Gtk.CellRendererText()
|
||||
col = Gtk.TreeViewColumn(_('Type'), renderer_text, text = 2)
|
||||
|
|
Loading…
Reference in New Issue