fix elements overflowing
This commit is contained in:
parent
3c9f6e78cc
commit
b69e7e5c01
1 changed files with 24 additions and 33 deletions
|
|
@ -33,39 +33,31 @@ PanelWindow {
|
||||||
spacing: 0
|
spacing: 0
|
||||||
|
|
||||||
// ---- left ----
|
// ---- left ----
|
||||||
Item {
|
|
||||||
Layout.fillWidth: true
|
|
||||||
Layout.fillHeight: true
|
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
anchors.left: parent.left
|
Layout.fillWidth: true
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
|
||||||
spacing: 8
|
spacing: 8
|
||||||
|
|
||||||
// M.Workspaces {}
|
// M.Workspaces {}
|
||||||
M.Tray { bar: bar }
|
M.Tray { bar: bar }
|
||||||
M.WindowTitle { Layout.maximumWidth: 400 }
|
M.WindowTitle { Layout.maximumWidth: 400 }
|
||||||
}
|
Item { Layout.fillWidth: true }
|
||||||
}
|
}
|
||||||
|
|
||||||
// ---- center ----
|
// ---- center ----
|
||||||
RowLayout {
|
RowLayout {
|
||||||
spacing: 8
|
spacing: 8
|
||||||
|
Layout.alignment: Qt.AlignVCenter
|
||||||
|
|
||||||
M.Clock {}
|
M.Clock {}
|
||||||
M.Notifications {}
|
M.Notifications {}
|
||||||
}
|
}
|
||||||
|
|
||||||
// ---- right ----
|
// ---- right ----
|
||||||
Item {
|
|
||||||
Layout.fillWidth: true
|
|
||||||
Layout.fillHeight: true
|
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
anchors.right: parent.right
|
Layout.fillWidth: true
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
|
||||||
spacing: 12
|
spacing: 12
|
||||||
|
|
||||||
|
Item { Layout.fillWidth: true }
|
||||||
M.Mpris {}
|
M.Mpris {}
|
||||||
M.Volume {}
|
M.Volume {}
|
||||||
M.Bluetooth {}
|
M.Bluetooth {}
|
||||||
|
|
@ -83,4 +75,3 @@ PanelWindow {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue