Sidebar: remove frame from description TextArea
This commit is contained in:
parent
17a7e0108b
commit
81d935c766
1 changed files with 30 additions and 31 deletions
19
Sidebar.qml
19
Sidebar.qml
|
@ -97,26 +97,26 @@ Page {
|
|||
anchors.fill: parent
|
||||
|
||||
// Description box.
|
||||
Frame {
|
||||
ScrollView {
|
||||
Layout.fillWidth: true
|
||||
Layout.maximumHeight: 100
|
||||
padding: 1
|
||||
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
|
||||
|
||||
ScrollView {
|
||||
anchors.fill: parent
|
||||
contentWidth: parent.availableWidth
|
||||
padding: 0
|
||||
|
||||
visible: description.enabled
|
||||
background: Frame { }
|
||||
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
|
||||
background: Rectangle {
|
||||
color: palette.base
|
||||
border.color: description.activeFocus ? palette.highlight : palette.dark
|
||||
radius: 2
|
||||
}
|
||||
|
||||
TextArea {
|
||||
id: description
|
||||
|
||||
placeholderText: qsTr('Description')
|
||||
background: Rectangle { color: palette.base }
|
||||
leftPadding: padding
|
||||
padding: filter.padding
|
||||
leftPadding: filter.leftPadding
|
||||
selectByMouse: true
|
||||
wrapMode: Text.Wrap
|
||||
|
||||
|
@ -138,7 +138,6 @@ Page {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Filter box.
|
||||
TextField {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue