From: Joshua Lock <josh@linux.intel.com>
To: bitbake-devel@lists.openembedded.org
Subject: [PATCH 6/6] crumbs/hig: tweak UI and layout of LayerSelectionDialog
Date: Fri, 24 Feb 2012 17:34:43 -0800 [thread overview]
Message-ID: <2f12aba7bb8438c9dd976972f79524dc143dbe7a.1330133412.git.josh@linux.intel.com> (raw)
In-Reply-To: <03fda55b89fdc2ddb45a7bc08015989fc0eccb91.1330133412.git.josh@linux.intel.com>
In-Reply-To: <cover.1330133412.git.josh@linux.intel.com>
Several minor tweaks for appearance:
* Try to rework the labels so that the English flows better
* Fix spacing
* Remove the separator - it's not needed
Signed-off-by: Joshua Lock <josh@linux.intel.com>
---
lib/bb/ui/crumbs/hig.py | 18 +++++-------------
1 files changed, 5 insertions(+), 13 deletions(-)
diff --git a/lib/bb/ui/crumbs/hig.py b/lib/bb/ui/crumbs/hig.py
index abc4a55..bd611bc 100644
--- a/lib/bb/ui/crumbs/hig.py
+++ b/lib/bb/ui/crumbs/hig.py
@@ -518,9 +518,9 @@ class LayerSelectionDialog (CrumbsDialog):
self.vbox.pack_start(hbox_top, expand=False, fill=False)
if self.split_model:
- label = HobWidget.gen_label_widget("<span weight=\"bold\" font_desc='12'>Select Layers:</span>\n(Available layers under '${COREBASE}/layers/' directory)")
+ label = HobWidget.gen_label_widget("<b>Select Layers:</b>\n(Available layers under '${COREBASE}/layers/' directory)")
else:
- label = HobWidget.gen_label_widget("<span weight=\"bold\" font_desc='12'>Select Layers:</span>")
+ label = HobWidget.gen_label_widget("<b>Select Layers:</b>")
hbox_top.pack_start(label, expand=False, fill=False)
tooltip = "Layer is a collection of bb files and conf files"
@@ -534,17 +534,9 @@ class LayerSelectionDialog (CrumbsDialog):
self.vbox.pack_start(layer_widget, expand=True, fill=True)
- separator = gtk.HSeparator()
- self.vbox.pack_start(separator, False, True, 5)
- separator.show()
-
- hbox_button = gtk.HBox()
- self.vbox.pack_end(hbox_button, expand=False, fill=False)
- hbox_button.show()
-
- label = HobWidget.gen_label_widget("<i>'meta' is Core layer for Yocto images</i>\n"
- "<span weight=\"bold\">Please do not remove it</span>")
- hbox_button.pack_start(label, expand=False, fill=False)
+ label = HobWidget.gen_label_widget("<b>Note:</b> '<i>meta</i>' is the Core layer for Yocto images please do not remove it.")
+ label.show()
+ self.vbox.pack_end(label, expand=False, fill=False)
self.show_all()
--
1.7.7.6
next prev parent reply other threads:[~2012-02-25 1:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-25 1:34 [PATCH 0/6] Hob tweaks Joshua Lock
2012-02-25 1:34 ` [PATCH 1/6] crumbs: Factor common dialogue configuration out Joshua Lock
2012-02-25 1:34 ` [PATCH 2/6] crumbs/builder: use the name Hob consistently Joshua Lock
2012-02-25 1:34 ` [PATCH 3/6] crumbs: move towards more standard dialogue spacing Joshua Lock
2012-02-25 1:34 ` [PATCH 4/6] crumbs: fix button order in several dialogues Joshua Lock
2012-02-25 1:34 ` [PATCH 5/6] hig: try to avoid setting explicit dialogue sizes Joshua Lock
2012-02-25 1:34 ` Joshua Lock [this message]
2012-02-26 6:59 ` [PATCH 0/6] Hob tweaks Wang, Shane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2f12aba7bb8438c9dd976972f79524dc143dbe7a.1330133412.git.josh@linux.intel.com \
--to=josh@linux.intel.com \
--cc=bitbake-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox