From df64e7f884383068c25fca63126167d78944e731 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Fri, 6 Apr 2012 16:02:22 -0700 Subject: lib/bb/ui/crumbs/[recipe|package]selectionpage: fixed width Included col Set the expand property on all columns other than the 'Included' column so that the included column remains at the max size set. (Bitbake rev: e1406d75c0643a2e65bb61649958e05e730fb332) Signed-off-by: Joshua Lock Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/crumbs/recipeselectionpage.py | 36 +++++++++++++++---------- 1 file changed, 22 insertions(+), 14 deletions(-) (limited to 'bitbake/lib/bb/ui/crumbs/recipeselectionpage.py') diff --git a/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py b/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py index 8314449eef..d70fe5284b 100755 --- a/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py +++ b/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py @@ -41,25 +41,28 @@ class RecipeSelectionPage (HobPage): 'col_id' : RecipeListModel.COL_NAME, 'col_style': 'text', 'col_min' : 100, - 'col_max' : 400 + 'col_max' : 400, + 'expand' : 'True' }, { 'col_name' : 'Brought in by', 'col_id' : RecipeListModel.COL_BINB, 'col_style': 'binb', 'col_min' : 100, - 'col_max' : 500 + 'col_max' : 500, + 'expand' : 'True' }, { 'col_name' : 'Group', 'col_id' : RecipeListModel.COL_GROUP, 'col_style': 'text', 'col_min' : 100, - 'col_max' : 300 + 'col_max' : 300, + 'expand' : 'True' }, { 'col_name' : 'Included', 'col_id' : RecipeListModel.COL_INC, 'col_style': 'check toggle', - 'col_min' : 50, - 'col_max' : 50 + 'col_min' : 100, + 'col_max' : 100 }] }, { 'name' : 'All recipes', @@ -69,25 +72,28 @@ class RecipeSelectionPage (HobPage): 'col_id' : RecipeListModel.COL_NAME, 'col_style': 'text', 'col_min' : 100, - 'col_max' : 400 + 'col_max' : 400, + 'expand' : 'True' }, { 'col_name' : 'License', 'col_id' : RecipeListModel.COL_LIC, 'col_style': 'text', 'col_min' : 100, - 'col_max' : 400 + 'col_max' : 400, + 'expand' : 'True' }, { 'col_name' : 'Group', 'col_id' : RecipeListModel.COL_GROUP, 'col_style': 'text', 'col_min' : 100, - 'col_max' : 400 + 'col_max' : 400, + 'expand' : 'True' }, { 'col_name' : 'Included', 'col_id' : RecipeListModel.COL_INC, 'col_style': 'check toggle', - 'col_min' : 50, - 'col_max' : 50 + 'col_min' : 100, + 'col_max' : 100 }] }, { 'name' : 'Tasks', @@ -97,19 +103,21 @@ class RecipeSelectionPage (HobPage): 'col_id' : RecipeListModel.COL_NAME, 'col_style': 'text', 'col_min' : 100, - 'col_max' : 400 + 'col_max' : 400, + 'expand' : 'True' }, { 'col_name' : 'Description', 'col_id' : RecipeListModel.COL_DESC, 'col_style': 'text', 'col_min' : 100, - 'col_max' : 400 + 'col_max' : 400, + 'expand' : 'True' }, { 'col_name' : 'Included', 'col_id' : RecipeListModel.COL_INC, 'col_style': 'check toggle', - 'col_min' : 50, - 'col_max' : 50 + 'col_min' : 100, + 'col_max' : 100 }] } ] -- cgit v1.2.3-54-g00ecf