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