[gnome-shell/gbsneto/folders-as-dialogs: 34/34] appDisplay: Don't pad with spacing in FolderView



commit ea14a4f7ceb5fdafc8e7a07a4b69b3424278b146
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue Dec 17 17:00:57 2019 -0300

    appDisplay: Don't pad with spacing in FolderView
    
    This improves the usage of empty space in the dialog. Also limit
    the number of columns to 5.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/896

 js/ui/appDisplay.js | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 05fe5112cb..0d780445b5 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -1299,6 +1299,9 @@ class FolderView extends BaseAppView {
             layout_manager: new Clutter.BinLayout(),
             x_expand: true,
             y_expand: true,
+        }, {
+            padWithSpacing: false,
+            columnLimit: 5,
         });
 
         // If it not expand, the parent doesn't take into account its preferred_width when allocating


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