summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYosef Or Boczko <yoseforb@gmail.com>2013-09-26 21:36:55 +0300
committerYosef Or Boczko <yoseforb@gmail.com>2013-09-26 21:36:55 +0300
commit63931300aebdae85cd504110912c584f51039d2c (patch)
treed09273a600890bb62ffd9c90e9e60029b8037b3a
parentd7c50853ee899b1a9bef1a68e3b43394d93b2670 (diff)
downloadgnome-contacts-63931300aebdae85cd504110912c584f51039d2c.tar.gz
Contacts.App: make the buttons as center vertically
http://bugzilla.gnome.org/show_bug.cgi?id=708858 Signed-off-by: Yosef Or Boczko <yoseforb@gmail.com>
-rw-r--r--src/contacts-app.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/contacts-app.vala b/src/contacts-app.vala
index c5a43bc..c6a6063 100644
--- a/src/contacts-app.vala
+++ b/src/contacts-app.vala
@@ -115,6 +115,7 @@ public class Contacts.App : Gtk.Application {
var header = new HeaderBar ();
header.set_title (_("Primary Contacts Account"));
var cancel_button = new Button.with_label (_("Cancel"));
+ cancel_button.valign = Gtk.Align.CENTER;
cancel_button.get_child ().margin = 3;
cancel_button.get_child ().margin_left = 6;
cancel_button.get_child ().margin_right = 6;
@@ -124,6 +125,7 @@ public class Contacts.App : Gtk.Application {
header.pack_start (cancel_button);
var done_button = new Button.with_label (_("Done"));
+ done_button.valign = Gtk.Align.CENTER;
done_button.get_style_context ().add_class ("suggested-action");
done_button.get_child ().margin = 3;
done_button.get_child ().margin_left = 6;