diff options
author | Andrei Dinu <andrei.adrianx.dinu@intel.com> | 2013-03-22 17:20:10 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-22 16:54:39 +0000 |
commit | cd4f88e0ea34284f1706b80b8e7ec275afc83570 (patch) | |
tree | d15af94f13c92fe357cce1936797dba614e2d244 /bitbake/lib/bb/ui | |
parent | 860f826753cab81b1d1d9b2ecafa630a96676d9e (diff) | |
download | poky-cd4f88e0ea34284f1706b80b8e7ec275afc83570.tar.gz |
bitbake: Adjust spacing on information windows
[Hob #4070]
- tweaked the spacing on info windows
- fixed text bolding in simple settings dialog
(Bitbake rev: 2ecb102968cdbbdbbfa91e1dcccf45bcd0b59a89)
Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hig/propertydialog.py | 14 | ||||
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hig/simplesettingsdialog.py | 2 |
2 files changed, 8 insertions, 8 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 | ||
diff --git a/bitbake/lib/bb/ui/crumbs/hig/simplesettingsdialog.py b/bitbake/lib/bb/ui/crumbs/hig/simplesettingsdialog.py index e0fbdca8f1..8ac82ed7df 100644 --- a/bitbake/lib/bb/ui/crumbs/hig/simplesettingsdialog.py +++ b/bitbake/lib/bb/ui/crumbs/hig/simplesettingsdialog.py | |||
@@ -305,7 +305,7 @@ class SimpleSettingsDialog (CrumbsDialog, SettingsUIHelper): | |||
305 | tooltip += "For more information on shared state mirrors, check the <a href=\"" | 305 | tooltip += "For more information on shared state mirrors, check the <a href=\"" |
306 | tooltip += "http://www.yoctoproject.org/docs/current/poky-ref-manual/" | 306 | tooltip += "http://www.yoctoproject.org/docs/current/poky-ref-manual/" |
307 | tooltip += "poky-ref-manual.html#shared-state\">Yocto Project Reference Manual</a>." | 307 | tooltip += "poky-ref-manual.html#shared-state\">Yocto Project Reference Manual</a>." |
308 | table = self.gen_label_info_widget(content,"Shared state mirrors" + "*" + tooltip) | 308 | table = self.gen_label_info_widget(content,"<b>Shared state mirrors</b>" + "*" + tooltip) |
309 | advanced_vbox.pack_start(table, expand=False, fill=False, padding=6) | 309 | advanced_vbox.pack_start(table, expand=False, fill=False, padding=6) |
310 | 310 | ||
311 | sub_vbox = gtk.VBox(False) | 311 | sub_vbox = gtk.VBox(False) |