[gnome-clocks] New button - set a minimum size
- From: Seif Lotfy <seiflotfy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-clocks] New button - set a minimum size
- Date: Fri, 17 Aug 2012 10:02:25 +0000 (UTC)
commit 185e7d573830d3c0ebdec48cfd97383f9d8af9c9
Author: Allan Day <allanpday gmail com>
Date: Fri Aug 17 10:24:34 2012 +0100
New button - set a minimum size
The label can be short, so set a minimum size to ensure that the
button is noticeable and easy to click.
https://bugzilla.gnome.org/show_bug.cgi?id=682059
Signed-off-by: Seif Lotfy <seif lotfy com>
gnomeclocks/app.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gnomeclocks/app.py b/gnomeclocks/app.py
index ebed937..5c83d11 100644
--- a/gnomeclocks/app.py
+++ b/gnomeclocks/app.py
@@ -158,6 +158,7 @@ class ClocksToolbar(Gtk.Toolbar):
label = Gtk.Label(_("New"))
self.newButton.get_style_context().add_class('raised')
self.newButton.add(label)
+ self.newButton.set_size_request(64, -1)
self.leftBox = box = Gtk.Box()
box.pack_start(self.newButton, False, False, 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]