use gridlayout

This commit is contained in:
Benjamin Palko 2025-08-31 11:35:40 -04:00
parent e27dadba0f
commit dddbb82984

View file

@ -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