Give sidebar document entries more breathing room
This commit is contained in:
parent
4c2250ba3c
commit
e418177bad
|
|
@ -163,6 +163,7 @@ ApplicationWindow {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
clip: true
|
clip: true
|
||||||
|
spacing: root.baseFontSize * 0.25
|
||||||
model: []
|
model: []
|
||||||
delegate: ItemDelegate {
|
delegate: ItemDelegate {
|
||||||
id: docDelegate
|
id: docDelegate
|
||||||
|
|
@ -172,8 +173,8 @@ ApplicationWindow {
|
||||||
onClicked: root.selectDoc(modelData.name)
|
onClicked: root.selectDoc(modelData.name)
|
||||||
leftPadding: root.baseFontSize * 0.8
|
leftPadding: root.baseFontSize * 0.8
|
||||||
rightPadding: root.baseFontSize * 0.8
|
rightPadding: root.baseFontSize * 0.8
|
||||||
topPadding: root.baseFontSize * 0.4
|
topPadding: root.baseFontSize * 0.5
|
||||||
bottomPadding: root.baseFontSize * 0.4
|
bottomPadding: root.baseFontSize * 0.5
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
color: (docDrop.containsDrag) ? theme.highlightColor
|
color: (docDrop.containsDrag) ? theme.highlightColor
|
||||||
: (docDelegate.highlighted ? theme.highlightColor : "transparent")
|
: (docDelegate.highlighted ? theme.highlightColor : "transparent")
|
||||||
|
|
@ -209,7 +210,7 @@ ApplicationWindow {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
contentItem: ColumnLayout {
|
contentItem: ColumnLayout {
|
||||||
spacing: root.baseFontSize * 0.15
|
spacing: root.baseFontSize * 0.3
|
||||||
Label {
|
Label {
|
||||||
text: modelData.title
|
text: modelData.title
|
||||||
color: theme.textColor
|
color: theme.textColor
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue