Skip to content

Commit 04ec57d

Browse files
committed
Fix top margin
1 parent 69c6e87 commit 04ec57d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/qml/PathView.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ ListView {
1111
spacing: 6
1212
header: Button {
1313
width: parent.width
14-
height: pathView.count ? 40 : 0
14+
height: pathView.count > 1 ? 40 : 0
1515
Behavior on height { NumberAnimation { duration: 300; easing.type: Easing.InOutSine }}
16-
visible: pathView.count
16+
visible: pathView.count > 1
1717
highlighted: true
1818
Text {
1919
anchors.centerIn: parent

src/qml/main.qml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,6 @@ ApplicationWindow {
3535
anchors.fill: parent
3636
anchors.leftMargin: 4
3737
anchors.rightMargin: 4
38+
anchors.topMargin: 4
3839
}
3940
}

0 commit comments

Comments
 (0)