[four-in-a-row] Ensure buttons have the same width.
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [four-in-a-row] Ensure buttons have the same width.
- Date: Sat, 30 Aug 2014 15:48:30 +0000 (UTC)
commit d3baa9def1ef88ba4f253e3d58cf28cae9954949
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Fri Aug 29 23:28:07 2014 +0200
Ensure buttons have the same width.
https://bugzilla.gnome.org/show_bug.cgi?id=735698
src/main.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index 6ea6a89..1e305b1 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1248,7 +1248,7 @@ create_app (void)
gtk_button_set_label (GTK_BUTTON (hint_button), _("_Hint"));
gtk_button_set_use_underline (GTK_BUTTON (hint_button), TRUE);
gtk_widget_set_valign (hint_button, GTK_ALIGN_CENTER);
- gtk_widget_set_halign (hint_button, GTK_ALIGN_CENTER);
+ gtk_widget_set_halign (hint_button, GTK_ALIGN_FILL);
gtk_widget_set_size_request (hint_button, 120, 60);
gtk_actionable_set_action_name (GTK_ACTIONABLE (hint_button), "app.hint");
gtk_widget_set_tooltip_text (hint_button, _("Receive a hint for your next move"));
@@ -1258,7 +1258,7 @@ create_app (void)
gtk_button_set_label (GTK_BUTTON (new_game_button), _("_Start Over"));
gtk_button_set_use_underline (GTK_BUTTON (new_game_button), TRUE);
gtk_widget_set_valign (new_game_button, GTK_ALIGN_CENTER);
- gtk_widget_set_halign (new_game_button, GTK_ALIGN_CENTER);
+ gtk_widget_set_halign (new_game_button, GTK_ALIGN_FILL);
gtk_widget_set_size_request (new_game_button, 120, 60);
gtk_actionable_set_action_name (GTK_ACTIONABLE (new_game_button), "app.new-game");
gtk_widget_set_tooltip_text (new_game_button, _("Start a new game"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]