[four-in-a-row] Center text in the scores dialog



commit a7b44c26ff912c0d80936f08aa9165f71941b8ee
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Mon Aug 18 17:05:06 2014 -0500

    Center text in the scores dialog
    
    This looks bad, BUT NOT AS BAD AS BEFORE!
    
    https://bugzilla.gnome.org/show_bug.cgi?id=727053

 src/main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index 4ec6cb6..1901007 100644
--- a/src/main.c
+++ b/src/main.c
@@ -732,6 +732,7 @@ on_game_scores (GSimpleAction *action, GVariant *parameter, gpointer data)
                    G_CALLBACK (gtk_widget_destroyed), &scorebox);
 
   grid = gtk_grid_new ();
+  gtk_widget_set_halign (grid, GTK_ALIGN_CENTER);
   gtk_grid_set_row_spacing (GTK_GRID (grid), 6);
   gtk_orientable_set_orientation (GTK_ORIENTABLE (grid), GTK_ORIENTATION_VERTICAL);
   gtk_container_set_border_width (GTK_CONTAINER (grid), 5);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]