Replace some hardcoded spacing by their respective shorthands

This commit is contained in:
quadbyte
2025-08-13 17:22:42 -04:00
parent ade52f5013
commit a1b6c0845d
4 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -32,8 +32,8 @@ Item {
IconImage {
id: trayIcon
anchors.centerIn: parent
width: 16 * scaling
height: 16 * scaling
width: Style.marginLarge * scaling
height: Style.marginLarge * scaling
smooth: false
asynchronous: true
backer.fillMode: Image.PreserveAspectFit
+4 -4
View File
@@ -134,8 +134,8 @@ PopupWindow {
}
Image {
Layout.preferredWidth: 16 * scaling
Layout.preferredHeight: 16 * scaling
Layout.preferredWidth: Style.marginLarge * scaling
Layout.preferredHeight: Style.marginLarge * scaling
source: modelData?.icon ?? ""
visible: (modelData?.icon ?? "") !== ""
fillMode: Image.PreserveAspectFit
@@ -369,8 +369,8 @@ PopupWindow {
}
Image {
Layout.preferredWidth: 16 * scaling
Layout.preferredHeight: 16 * scaling
Layout.preferredWidth: Style.marginLarge * scaling
Layout.preferredHeight: Style.marginLarge * scaling
source: modelData?.icon ?? ""
visible: (modelData?.icon ?? "") !== ""
fillMode: Image.PreserveAspectFit