use gridlayout
This commit is contained in:
parent
e27dadba0f
commit
dddbb82984
1 changed files with 12 additions and 14 deletions
|
|
@ -14,11 +14,9 @@ StyledPopupWindow {
|
||||||
margins: 16
|
margins: 16
|
||||||
radius: 8
|
radius: 8
|
||||||
|
|
||||||
content: ColumnLayout {
|
content: GridLayout {
|
||||||
spacing: 16
|
|
||||||
|
|
||||||
RowLayout {
|
columns: 2
|
||||||
Layout.fillWidth: true
|
|
||||||
|
|
||||||
StyledSwitch {
|
StyledSwitch {
|
||||||
text: "Enabled"
|
text: "Enabled"
|
||||||
|
|
@ -31,9 +29,9 @@ StyledPopupWindow {
|
||||||
text: "Clear"
|
text: "Clear"
|
||||||
onClicked: Notifications.clear()
|
onClicked: Notifications.clear()
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
StyledLabel {
|
StyledLabel {
|
||||||
|
Layout.columnSpan: 2
|
||||||
color: Theme.palette.base200
|
color: Theme.palette.base200
|
||||||
StyledListView {
|
StyledListView {
|
||||||
id: notifications
|
id: notifications
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue