Use view background color for SpaceDrawer
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user