summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/hig/propertydialog.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hig/propertydialog.py')
-rw-r--r--bitbake/lib/bb/ui/crumbs/hig/propertydialog.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hig/propertydialog.py b/bitbake/lib/bb/ui/crumbs/hig/propertydialog.py
index d68ef3a167..4420f97665 100644
--- a/bitbake/lib/bb/ui/crumbs/hig/propertydialog.py
+++ b/bitbake/lib/bb/ui/crumbs/hig/propertydialog.py
@@ -56,7 +56,7 @@ class PropertyDialog(CrumbsDialog):
56 HOB_ICON_BASE_DIR = os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(__file__))), ("icons/")) 56 HOB_ICON_BASE_DIR = os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(__file__))), ("icons/"))
57 ICON_PACKAGES_DISPLAY_FILE = os.path.join(HOB_ICON_BASE_DIR, ('info/info_display.png')) 57 ICON_PACKAGES_DISPLAY_FILE = os.path.join(HOB_ICON_BASE_DIR, ('info/info_display.png'))
58 58
59 self.table = gtk.Table(2,2,False) 59 self.table = gtk.Table(1,1,False)
60 self.table.set_row_spacings(0) 60 self.table.set_row_spacings(0)
61 self.table.set_col_spacings(0) 61 self.table.set_col_spacings(0)
62 62
@@ -68,21 +68,21 @@ class PropertyDialog(CrumbsDialog):
68 image_info = self.properties.split("*")[0] 68 image_info = self.properties.split("*")[0]
69 info = self.properties.split("*")[1] 69 info = self.properties.split("*")[1]
70 70
71 vbox = gtk.VBox(True, spacing=0) 71 vbox = gtk.VBox(True, spacing=30)
72 72
73 self.label_short = gtk.Label() 73 self.label_short = gtk.Label()
74 self.label_short.set_line_wrap(False) 74 self.label_short.set_line_wrap(False)
75 self.label_short.set_markup(" " + image_info) 75 self.label_short.set_markup(image_info)
76 self.label_short.set_property("xalign", 0) 76 self.label_short.set_property("xalign", 0)
77 77
78 self.info_label = gtk.Label() 78 self.info_label = gtk.Label()
79 self.info_label.set_line_wrap(True) 79 self.info_label.set_line_wrap(True)
80 self.info_label.set_markup(info) 80 self.info_label.set_markup(info)
81 self.info_label.set_property("xalign", 1) 81 self.info_label.set_property("yalign", 0.5)
82 82
83 self.table.attach(self.image, 0,1,0,1, xoptions=gtk.FILL|gtk.EXPAND, yoptions=gtk.FILL) 83 self.table.attach(self.image, 0,1,0,1, xoptions=gtk.FILL|gtk.EXPAND, yoptions=gtk.FILL,xpadding=5,ypadding=5)
84 self.table.attach(self.label_short, 0,1,0,1, xoptions=gtk.FILL|gtk.EXPAND, yoptions=gtk.FILL) 84 self.table.attach(self.label_short, 0,1,0,1, xoptions=gtk.FILL|gtk.EXPAND, yoptions=gtk.FILL,xpadding=40,ypadding=5)
85 self.table.attach(self.info_label, 0,1,1,2, xoptions=gtk.FILL|gtk.EXPAND, yoptions=gtk.FILL) 85 self.table.attach(self.info_label, 0,1,1,2, xoptions=gtk.FILL|gtk.EXPAND, yoptions=gtk.FILL,xpadding=40,ypadding=10)
86 86
87 self.vbox.add(self.table) 87 self.vbox.add(self.table)
88 88