diff options
author | Ioana Grigoropol <ioanax.grigoropol@intel.com> | 2012-09-26 15:13:42 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-27 16:45:25 +0100 |
commit | 0e1a427a2558ca09bc71b4d549c468198af7e01c (patch) | |
tree | 12d52b353424b3c293f2e2e5a340db123ecdcb7c /bitbake/lib/bb/ui/crumbs/hig.py | |
parent | 4c229615eaedb6b7af6efa7d4d70848a8027594a (diff) | |
download | poky-0e1a427a2558ca09bc71b4d549c468198af7e01c.tar.gz |
bitbake: hob: Buttons width and height are taken for host
- removed all set_size_request calls for buttons in order to:
- force autosizing of buttons with regard to the text length
- use host theme default height for buttons
- modified buttons on image details page to have the same height (default host one) and the width of the button with the largest text
- modified Stop button on build details page to have the default height by directly attaching it to the containing table instead of hbox
(Bitbake rev: 9cdfaa17309d368c3bbae0f1cce0ad875d340e83)
Signed-off-by: Ioana Grigoropol <ioanax.grigoropol@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hig.py')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hig.py b/bitbake/lib/bb/ui/crumbs/hig.py index 31747b325c..778d84331c 100644 --- a/bitbake/lib/bb/ui/crumbs/hig.py +++ b/bitbake/lib/bb/ui/crumbs/hig.py | |||
@@ -1056,7 +1056,7 @@ class DeployImageDialog (CrumbsDialog): | |||
1056 | icon.set_from_pixbuf(pix_buffer) | 1056 | icon.set_from_pixbuf(pix_buffer) |
1057 | button = gtk.Button("Select Image") | 1057 | button = gtk.Button("Select Image") |
1058 | button.set_image(icon) | 1058 | button.set_image(icon) |
1059 | button.set_size_request(140, 50) | 1059 | #button.set_size_request(140, 50) |
1060 | table.attach(button, 9, 10, 1, 2, gtk.FILL, 0, 0, 0) | 1060 | table.attach(button, 9, 10, 1, 2, gtk.FILL, 0, 0, 0) |
1061 | button.connect("clicked", self.select_image_button_clicked_cb) | 1061 | button.connect("clicked", self.select_image_button_clicked_cb) |
1062 | 1062 | ||