make DockButton not rely on auto-cascaded dockRow.padding

This commit is contained in:
end-4
2025-08-18 18:17:14 +07:00
parent d051246b7e
commit 0f81d2cace
3 changed files with 22 additions and 21 deletions
@@ -16,6 +16,7 @@ Item {
property real maxWindowPreviewHeight: 200
property real maxWindowPreviewWidth: 300
property real windowControlsHeight: 30
property real buttonPadding: 5
property Item lastHoveredButton
property bool buttonHovered: false
@@ -84,6 +85,9 @@ Item {
required property var modelData
appToplevel: modelData
appListRoot: root
topInset: Appearance.sizes.hyprlandGapsOut + root.buttonPadding
bottomInset: Appearance.sizes.hyprlandGapsOut + root.buttonPadding
}
}