From 749a4e9bf6d084d28b629c48e3f0887db7c56406 Mon Sep 17 00:00:00 2001 From: Romain Failliot Date: Wed, 28 Jan 2015 07:59:18 -0500 Subject: [PATCH] Small improvements on the manager window UI. * Set width only for the closest component instead of the whole window. * Increase rows height of packages_treeview from 20 to 22 so that we can see the tails of the 'j's and 'g's (there must be a better way than forcing the height, but I didn't find it). * Increase a little the columns width, based on the average text displayed in them. * Set 'Name' column expandable, meaning that when you resize the window, it will be this column that will take the width difference, which is probably what the users want to do 95% of the time. * Set the window expandable. This doesn't change anything, but offers a better display in Glade. --- resources/manager_window.ui | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/resources/manager_window.ui b/resources/manager_window.ui index 128a4cc..4f13fd8 100644 --- a/resources/manager_window.ui +++ b/resources/manager_window.ui @@ -46,7 +46,6 @@ 3 Package Manager center - 900 600 system-software-install @@ -438,6 +437,7 @@ vertical + 500 True True True @@ -445,8 +445,6 @@ in - 500 - 300 True True True @@ -471,7 +469,7 @@ 40 - 20 + 22 1 @@ -484,12 +482,13 @@ True 20 Name + True True 150 - 20 + 22 0 @@ -506,8 +505,8 @@ - 80 - 20 + 90 + 22 2 @@ -524,8 +523,8 @@ - 80 - 20 + 90 + 22 3 @@ -542,8 +541,8 @@ - 80 - 20 + 90 + 22 4 @@ -823,7 +822,7 @@ - False + True True 1