styled wrapper rectangle
This commit is contained in:
parent
ce3ec5d37b
commit
c277bc6938
8 changed files with 23 additions and 40 deletions
|
|
@ -1,5 +1,6 @@
|
|||
pragma ComponentBehavior: Bound
|
||||
|
||||
import qs.components
|
||||
import qs.config
|
||||
import qs.widgets
|
||||
import QtQuick
|
||||
|
|
@ -7,7 +8,6 @@ import QtQuick.Controls
|
|||
import QtQuick.Layouts
|
||||
import Quickshell
|
||||
import Quickshell.Bluetooth
|
||||
import Quickshell.Widgets
|
||||
|
||||
StyledPopupWindow {
|
||||
id: root
|
||||
|
|
@ -18,10 +18,8 @@ StyledPopupWindow {
|
|||
|
||||
content: ColumnLayout {
|
||||
spacing: 8
|
||||
WrapperRectangle {
|
||||
StyledWrapperRectangle {
|
||||
margin: 16
|
||||
color: Theme.palette.base200
|
||||
radius: 8
|
||||
Layout.fillWidth: true
|
||||
RowLayout {
|
||||
RowLayout {
|
||||
|
|
@ -51,10 +49,8 @@ StyledPopupWindow {
|
|||
}
|
||||
}
|
||||
|
||||
WrapperRectangle {
|
||||
StyledWrapperRectangle {
|
||||
margin: 16
|
||||
color: Theme.palette.base200
|
||||
radius: 8
|
||||
ColumnLayout {
|
||||
spacing: 8
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ import qs.widgets
|
|||
import QtQuick
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Layouts
|
||||
import Quickshell.Widgets
|
||||
|
||||
StyledPopupWindow {
|
||||
id: root
|
||||
|
|
@ -48,14 +47,10 @@ StyledPopupWindow {
|
|||
implicitWidth: 300
|
||||
clip: true
|
||||
|
||||
header: WrapperRectangle {
|
||||
margin: 8
|
||||
color: 'transparent'
|
||||
StyledText {
|
||||
text: "Notifications"
|
||||
font.bold: true
|
||||
font.pixelSize: 16
|
||||
}
|
||||
header: StyledText {
|
||||
text: "Notifications"
|
||||
font.bold: true
|
||||
font.pixelSize: 16
|
||||
}
|
||||
model: Notifications.list
|
||||
delegate: NotificationItem {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue