fix styledicon looking weird on laptop
This commit is contained in:
parent
a34a788e57
commit
33312f47f0
4 changed files with 5 additions and 27 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue