refactor flexible grids into Box

This commit is contained in:
end-4
2026-03-09 11:03:56 +01:00
parent a81f52fcd7
commit 84d7928518
7 changed files with 37 additions and 16 deletions
@@ -339,7 +339,7 @@ HBarWidgetContainer {
}
/////////////////// Components ///////////////////
component WorkspaceLayout: Grid {
component WorkspaceLayout: Box {
anchors {
top: !root.vertical ? parent.top : undefined
bottom: !root.vertical ? parent.bottom : undefined
@@ -349,8 +349,7 @@ HBarWidgetContainer {
rowSpacing: 0
columnSpacing: 0
columns: root.vertical ? 1 : -1
rows: root.vertical ? -1 : 1
vertical: root.vertical
}
component WorkspaceItem: Item {