diff options
author | Joshua Lock <josh@linux.intel.com> | 2012-03-28 16:32:28 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-30 17:20:20 +0100 |
commit | 8c5536543fb9b4681ac32517f100f9abec6f2162 (patch) | |
tree | 6d17b90c5125f33d8af47033989f13d190f81383 /bitbake/lib/bb/ui/crumbs/hobpages.py | |
parent | bcd4d14425cadc5bd6296f59f14733e8c39c49dd (diff) | |
download | poky-8c5536543fb9b4681ac32517f100f9abec6f2162.tar.gz |
Hob: tweak font sizes and layout
Switch to proportional font sizes and tweak padding and layout based on
feedback from design team.
(Bitbake rev: 356f190bb3f0ee9a15df900714edcb85593d6989)
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hobpages.py')
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/hobpages.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobpages.py b/bitbake/lib/bb/ui/crumbs/hobpages.py index 8ea39e70d0..024737d89c 100755 --- a/bitbake/lib/bb/ui/crumbs/hobpages.py +++ b/bitbake/lib/bb/ui/crumbs/hobpages.py | |||
@@ -59,7 +59,7 @@ class HobPage (gtk.VBox): | |||
59 | hbox = gtk.HBox() | 59 | hbox = gtk.HBox() |
60 | 60 | ||
61 | label = gtk.Label() | 61 | label = gtk.Label() |
62 | label.set_markup("<span font_desc=\'14\'>%s</span>" % self.title) | 62 | label.set_markup("<span size='x-large'>%s</span>" % self.title) |
63 | hbox.pack_start(label, expand=False, fill=False, padding=20) | 63 | hbox.pack_start(label, expand=False, fill=False, padding=20) |
64 | 64 | ||
65 | if widget: | 65 | if widget: |
@@ -69,8 +69,8 @@ class HobPage (gtk.VBox): | |||
69 | 69 | ||
70 | return eventbox | 70 | return eventbox |
71 | 71 | ||
72 | def span_tag(self, px="12px", weight="normal", forground="#1c1c1c"): | 72 | def span_tag(self, size="medium", weight="normal", forground="#1c1c1c"): |
73 | span_tag = "weight=\'%s\' foreground=\'%s\' font_desc=\'%s\'" % (weight, forground, px) | 73 | span_tag = "weight='%s' foreground='%s' size='%s'" % (weight, forground, size) |
74 | return span_tag | 74 | return span_tag |
75 | 75 | ||
76 | def append_toolbar_button(self, toolbar, buttonname, icon_disp, icon_hovor, tip, cb): | 76 | def append_toolbar_button(self, toolbar, buttonname, icon_disp, icon_hovor, tip, cb): |