[gnome-todo] list-selector-grid: Set halign to center



commit 5062730e457fd7a63572a3bcc36bc0742e6db437
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Sun Oct 29 21:03:46 2017 -0200

    list-selector-grid: Set halign to center
    
    This fixes #114.

 src/views/gtd-list-selector-grid.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/views/gtd-list-selector-grid.c b/src/views/gtd-list-selector-grid.c
index 19b36cb..7f35ac1 100644
--- a/src/views/gtd-list-selector-grid.c
+++ b/src/views/gtd-list-selector-grid.c
@@ -417,7 +417,7 @@ gtd_list_selector_grid_init (GtdListSelectorGrid *self)
   gtk_container_set_border_width (GTK_CONTAINER (self), 12);
   gtk_widget_set_hexpand (widget, TRUE);
   gtk_widget_set_vexpand (widget, TRUE);
-  gtk_widget_set_halign (widget, GTK_ALIGN_FILL);
+  gtk_widget_set_halign (widget, GTK_ALIGN_CENTER);
   gtk_widget_set_valign (widget, GTK_ALIGN_START);
   gtk_widget_show_all (widget);
 }


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