Give sidebar document entries more breathing room

This commit is contained in:
Levi Neely 2026-10-06 11:31:37 +02:00
parent 4c2250ba3c
commit e418177bad
1 changed files with 4 additions and 3 deletions

View File

@ -163,6 +163,7 @@ ApplicationWindow {
Layout.fillWidth: true
Layout.fillHeight: true
clip: true
spacing: root.baseFontSize * 0.25
model: []
delegate: ItemDelegate {
id: docDelegate
@ -172,8 +173,8 @@ ApplicationWindow {
onClicked: root.selectDoc(modelData.name)
leftPadding: root.baseFontSize * 0.8
rightPadding: root.baseFontSize * 0.8
topPadding: root.baseFontSize * 0.4
bottomPadding: root.baseFontSize * 0.4
topPadding: root.baseFontSize * 0.5
bottomPadding: root.baseFontSize * 0.5
background: Rectangle {
color: (docDrop.containsDrag) ? theme.highlightColor
: (docDelegate.highlighted ? theme.highlightColor : "transparent")
@ -209,7 +210,7 @@ ApplicationWindow {
}
}
contentItem: ColumnLayout {
spacing: root.baseFontSize * 0.15
spacing: root.baseFontSize * 0.3
Label {
text: modelData.title
color: theme.textColor