fix styledicon looking weird on laptop

This commit is contained in:
lucy 2026-09-01 14:10:34 +02:00
commit 33312f47f0
4 changed files with 5 additions and 27 deletions

View file

@ -6,21 +6,16 @@ import qs
import qs.settings
Image {
IconImage {
id: root
required property string iconName
source: Quickshell.iconPath(iconName)
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
implicitSize: Config.cfg.appearance.iconSize
smooth: true
mipmap: true
layer.enabled: true
layer.smooth: true
layer.textureSize: Qt.size(width * 4, height * 4)
layer.effect: MultiEffect {
colorization: 1.0
colorizationColor: Colors.text