[gnome-shell/gnome-41] iconGrid: Add more possible icon sizes
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-41] iconGrid: Add more possible icon sizes
- Date: Fri, 6 May 2022 14:10:00 +0000 (UTC)
commit c1db9c78abed168fdcde8e8cbc8f8a1288bdbb77
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>
(cherry picked from commit 8e664a8cbe3879e1ce2def80e2210c56a725aeac)
js/ui/iconGrid.js | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/js/ui/iconGrid.js b/js/ui/iconGrid.js
index 65b130ce74..c95b77fe1e 100644
--- a/js/ui/iconGrid.js
+++ b/js/ui/iconGrid.js
@@ -24,7 +24,9 @@ var AnimationDirection = {
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]