[gtk/prop-list: 44/75] gtk-demo: Crank up max columns of gridview



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

    gtk-demo: Crank up max columns of gridview
    
    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]