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.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