From 0ffd998050852d69042c6a81b9622d8ee2877283 Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Sun, 15 Sep 2013 11:15:29 +0200
Subject: [PATCH] better behaviour of column width in ACE. Fixes #7446

---
 src/advanced_configuration_window.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/advanced_configuration_window.py b/src/advanced_configuration_window.py
index f92999bf61..8bc256a030 100644
--- a/src/advanced_configuration_window.py
+++ b/src/advanced_configuration_window.py
@@ -116,13 +116,14 @@ class AdvancedConfigurationWindow(object):
         col.set_cell_data_func(renderer_text, self.cb_value_column_data)
 
         col.props.resizable = True
-        col.set_max_width(250)
         col.set_property('expand',True)
+        col.set_property('sizing',gtk.TREE_VIEW_COLUMN_FIXED)
 
         renderer_text = gtk.CellRendererText()
         col = treeview.insert_column_with_attributes(-1, _('Type'),
                 renderer_text, text = 2)
-        col.set_property('sizing',gtk.TREE_VIEW_COLUMN_AUTOSIZE)
+        col.set_property('expand',True)
+        col.set_property('sizing',gtk.TREE_VIEW_COLUMN_FIXED)
 
         treeview.set_model(self.modelfilter)
 
-- 
GitLab