Use view background color for SpaceDrawer

This commit is contained in:
Tobias Fella
2023-09-10 23:12:25 +02:00
parent 3cfa773820
commit e78dfaec34
2 changed files with 11 additions and 1 deletions

View File

@@ -96,7 +96,7 @@ Kirigami.Page {
RowLayout {
anchors.fill: parent
spacing: 1
spacing: 0
NeoChat.SpaceDrawer {
id: spaceDrawer
@@ -104,6 +104,11 @@ Kirigami.Page {
Layout.fillHeight: true
}
Kirigami.Separator {
Layout.fillHeight: true
Layout.preferredWidth: 1
}
QQC2.ScrollView {
id: scrollView
Layout.fillWidth: true

View File

@@ -41,6 +41,11 @@ QQC2.Control {
QQC2.ScrollBar.horizontal.policy: QQC2.ScrollBar.AlwaysOff
contentWidth: -1 // disable horizontal scroll
background: Rectangle {
color: Kirigami.Theme.backgroundColor
Kirigami.Theme.colorSet: Kirigami.Theme.View
}
ColumnLayout {
id: column
width: scrollView.width