fix elements overflowing
This commit is contained in:
parent
3c9f6e78cc
commit
b69e7e5c01
1 changed files with 24 additions and 33 deletions
|
|
@ -33,54 +33,45 @@ PanelWindow {
|
||||||
spacing: 0
|
spacing: 0
|
||||||
|
|
||||||
// ---- left ----
|
// ---- left ----
|
||||||
Item {
|
RowLayout {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.fillHeight: true
|
spacing: 8
|
||||||
|
|
||||||
RowLayout {
|
// M.Workspaces {}
|
||||||
anchors.left: parent.left
|
M.Tray { bar: bar }
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
M.WindowTitle { Layout.maximumWidth: 400 }
|
||||||
spacing: 8
|
Item { Layout.fillWidth: true }
|
||||||
|
|
||||||
// M.Workspaces {}
|
|
||||||
M.Tray { bar: bar }
|
|
||||||
M.WindowTitle { Layout.maximumWidth: 400 }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ---- center ----
|
// ---- center ----
|
||||||
RowLayout {
|
RowLayout {
|
||||||
spacing: 8
|
spacing: 8
|
||||||
|
Layout.alignment: Qt.AlignVCenter
|
||||||
|
|
||||||
M.Clock {}
|
M.Clock {}
|
||||||
M.Notifications {}
|
M.Notifications {}
|
||||||
}
|
}
|
||||||
|
|
||||||
// ---- right ----
|
// ---- right ----
|
||||||
Item {
|
RowLayout {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.fillHeight: true
|
spacing: 12
|
||||||
|
|
||||||
RowLayout {
|
Item { Layout.fillWidth: true }
|
||||||
anchors.right: parent.right
|
M.Mpris {}
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
M.Volume {}
|
||||||
spacing: 12
|
M.Bluetooth {}
|
||||||
|
M.Backlight {}
|
||||||
M.Mpris {}
|
M.Network {}
|
||||||
M.Volume {}
|
M.PowerProfile {}
|
||||||
M.Bluetooth {}
|
M.IdleInhibitor {}
|
||||||
M.Backlight {}
|
M.Weather {}
|
||||||
M.Network {}
|
M.Temperature {}
|
||||||
M.PowerProfile {}
|
M.Cpu {}
|
||||||
M.IdleInhibitor {}
|
M.Memory {}
|
||||||
M.Weather {}
|
M.Disk {}
|
||||||
M.Temperature {}
|
M.Battery {}
|
||||||
M.Cpu {}
|
M.Wlogout {}
|
||||||
M.Memory {}
|
|
||||||
M.Disk {}
|
|
||||||
M.Battery {}
|
|
||||||
M.Wlogout {}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue