[gtk/prop-list: 51/70] grid demo: Crank up max columns



commit bd1833ab39e9f3cca8ca7ea2480eeae1ed4ccd60
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Dec 15 17:03:11 2019 -0500

    grid demo: Crank up max columns
    
    This lets us fit more cells on screen.

 demos/gtk-demo/listview_colors.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/demos/gtk-demo/listview_colors.c b/demos/gtk-demo/listview_colors.c
index 14c1e35524..2d82d31bfe 100644
--- a/demos/gtk-demo/listview_colors.c
+++ b/demos/gtk-demo/listview_colors.c
@@ -439,7 +439,7 @@ do_listview_colors (GtkWidget *do_widget)
       gtk_scrollable_set_hscroll_policy (GTK_SCROLLABLE (gridview), GTK_SCROLL_NATURAL);
       gtk_scrollable_set_vscroll_policy (GTK_SCROLLABLE (gridview), GTK_SCROLL_NATURAL);
 
-      gtk_grid_view_set_max_columns (GTK_GRID_VIEW (gridview), 12);
+      gtk_grid_view_set_max_columns (GTK_GRID_VIEW (gridview), 24);
 
       model = G_LIST_MODEL (gtk_sort_list_model_new (create_colors_model (), NULL));
       selection = gtk_no_selection_new (model);


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