[gtk/prop-list: 47/57] grid demo: Crank up max columns



commit 1ddc2b6a90885f30319f9e2ddb36a83055003640
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]