[iagno] Correctly square headerbar buttons.
- From: Arnaud Bonatti <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [iagno] Correctly square headerbar buttons.
- Date: Mon, 7 Mar 2016 18:02:34 +0000 (UTC)
commit 186d194b0658bceb41b02ead993fd15ca37232e3
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Mon Mar 7 19:02:10 2016 +0100
Correctly square headerbar buttons.
src/game-window.vala | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/game-window.vala b/src/game-window.vala
index 4b46657..7fe133c 100644
--- a/src/game-window.vala
+++ b/src/game-window.vala
@@ -151,6 +151,7 @@ public class GameWindow : ApplicationWindow
Button undo_button = new Button.from_icon_name ("edit-undo-symbolic", Gtk.IconSize.BUTTON);
undo_button.action_name = "win.undo";
undo_button.set_tooltip_text (_("Undo your most recent move"));
+ undo_button.valign = Align.CENTER;
undo_button.show ();
history_box.pack_start (undo_button, true, true, 0);
@@ -159,6 +160,7 @@ public class GameWindow : ApplicationWindow
Button redo_button = new Button.from_icon_name ("edit-redo-symbolic", Gtk.IconSize.BUTTON);
redo_button.action_name = "app.redo";
redo_button.set_tooltip_text (_("Redo your most recent undone move"));
+ redo_button.valign = Align.CENTER;
redo_button.show ();
history_box.pack_start (redo_button, true, true, 0);
} */
@@ -171,6 +173,7 @@ public class GameWindow : ApplicationWindow
Button hint_button = new Button.from_icon_name ("dialog-question-symbolic", Gtk.IconSize.BUTTON);
hint_button.action_name = "app.hint";
hint_button.set_tooltip_text (_("Receive a hint for your next move"));
+ hint_button.valign = Align.CENTER;
hint_button.show ();
controls_box.pack_start (hint_button, true, true, 0);
} */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]