From 526997986fdbd186428dd70c21e5a6779e7942dd Mon Sep 17 00:00:00 2001 From: lucy Date: Tue, 1 Sep 2026 14:20:06 +0200 Subject: [PATCH] revert styledicon changes --- Colors.js | 2 +- widgets/StyledIcon.qml | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Colors.js b/Colors.js index ae1910f..b0e3710 120000 --- a/Colors.js +++ b/Colors.js @@ -1 +1 @@ -/nix/store/3bzaidljy8i3lvxr0ysy2fzc5ixkwkmi-home-manager-files/.config/quickshell/Colors.js \ No newline at end of file +/nix/store/yj22sprk8zwdhbc8jcf5nqbkc2vwd5yz-home-manager-files/.config/quickshell/Colors.js \ No newline at end of file diff --git a/widgets/StyledIcon.qml b/widgets/StyledIcon.qml index 4847e35..364ad40 100644 --- a/widgets/StyledIcon.qml +++ b/widgets/StyledIcon.qml @@ -6,11 +6,15 @@ import qs import qs.settings -IconImage { +Image { id: root required property string iconName source: Quickshell.iconPath(iconName) - implicitSize: Config.cfg.appearance.iconSize + width: Config.cfg.appearance.iconSize + height: Config.cfg.appearance.iconSize + sourceSize.width: Config.cfg.appearance.iconSize + sourceSize.height: Config.cfg.appearance.iconSize + fillMode: Image.PreserveAspectFit smooth: true mipmap: true