[gnome-shell] iconGrid: Add more possible icon sizes



commit 8e664a8cbe3879e1ce2def80e2210c56a725aeac
Author: Sebastian Keller <skeller gnome org>
Date:   Mon May 2 04:41:45 2022 +0200

    iconGrid: Add more possible icon sizes
    
    When selecting the largest possible icon size for restricted vertical or
    horizontal space the options for low resolution icons were rather coarse
    grained. This could often result in seemingly too small icons being
    chosen in the app grid on systems with low vertical resolution, because
    the next larger size would exceed the limit by a few pixels.
    
    This adds two more commonly used sizes for application icons to have
    some more options with restricted space.
    
    Helps: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2173
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2289>

 js/ui/iconGrid.js | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/js/ui/iconGrid.js b/js/ui/iconGrid.js
index 362cfda915..599374fa35 100644
--- a/js/ui/iconGrid.js
+++ b/js/ui/iconGrid.js
@@ -13,7 +13,9 @@ var PAGE_SWITCH_TIME = 300;
 var IconSize = {
     LARGE: 96,
     MEDIUM: 64,
+    MEDIUM_SMALL: 48,
     SMALL: 32,
+    SMALLER: 24,
     TINY: 16,
 };
 


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