Sidebar: remove frame from description TextArea

This commit is contained in:
Timotej Lazar 2021-09-16 20:02:49 +02:00
parent 17a7e0108b
commit 81d935c766
No known key found for this signature in database
GPG key ID: B6F38793D143456F

View file

@ -97,26 +97,26 @@ Page {
anchors.fill: parent anchors.fill: parent
// Description box. // Description box.
Frame { ScrollView {
Layout.fillWidth: true Layout.fillWidth: true
Layout.maximumHeight: 100 Layout.maximumHeight: 100
padding: 1 ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
ScrollView {
anchors.fill: parent
contentWidth: parent.availableWidth
padding: 0 padding: 0
visible: description.enabled visible: description.enabled
background: Frame { } background: Rectangle {
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff color: palette.base
border.color: description.activeFocus ? palette.highlight : palette.dark
radius: 2
}
TextArea { TextArea {
id: description id: description
placeholderText: qsTr('Description') placeholderText: qsTr('Description')
background: Rectangle { color: palette.base } padding: filter.padding
leftPadding: padding leftPadding: filter.leftPadding
selectByMouse: true selectByMouse: true
wrapMode: Text.Wrap wrapMode: Text.Wrap
@ -138,7 +138,6 @@ Page {
} }
} }
} }
}
// Filter box. // Filter box.
TextField { TextField {