[gnome-shell/gbsneto/folders-as-dialogs: 34/35] appDisplay: Set minimum folder view rows to 1



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

    appDisplay: Set minimum folder view rows to 1
    
    This improves the usage of empty space in the dialog.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/896

 js/ui/appDisplay.js | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index cac1a74b19..eb6ae7be4b 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -1284,6 +1284,8 @@ class FolderView extends BaseAppView {
             layout_manager: new Clutter.BinLayout(),
             x_expand: true,
             y_expand: true,
+        }, {
+            minRows: 1,
         });
 
         // 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]