mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Replace some hardcoded spacing by their respective shorthands
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user