fixed "nothing to push error"

This commit is contained in:
2026-08-06 17:43:50 +01:00
parent 185e7618a4
commit 78f92f1dbf

View File

@@ -22,6 +22,7 @@ Container {
boxRadius: 8
boxWidth: (2 * rowLeftMargin) + (workspaceCount * workspaceWidth) + ((workspaceCount - 1)
* workspaceButtonSpacing)
defaultItem: placeholder
exclusiveMonitor: monitor
states: [
@@ -31,11 +32,17 @@ Container {
PropertyChanges {
root.barHeight: 30
root.workspaceWidth: 25
root.workspaceWidth: 20
}
}
]
Component {
id: placeholder
Item {}
}
RowLayout {
spacing: root.workspaceButtonSpacing
@@ -64,9 +71,22 @@ Container {
property string workspaceId: modelData.id
Layout.alignment: Qt.AlignLeft
height: root.barHeight - 7
implicitHeight: root.barHeight - 7
implicitWidth: root.workspaceWidth
Behavior on implicitHeight {
SpringAnimation {
damping: 0.3
spring: 4
}
}
Behavior on implicitWidth {
SpringAnimation {
damping: 0.3
spring: 4
}
}
TapHandler {
id: tapHandler