Skip to content

Commit 31ec28d

Browse files
committed
qml: inset NavButtons 4px from borders to give space for focus outline
1 parent 29f26f8 commit 31ec28d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/qml/controls/NavigationBar.qml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ RowLayout {
1919
Layout.preferredWidth: parent.width / 3
2020
Loader {
2121
Layout.alignment: Qt.AlignLeft
22+
Layout.topMargin: 4
23+
Layout.leftMargin: 4
2224
id: left_detail
2325
active: true
2426
visible: active
@@ -40,6 +42,8 @@ RowLayout {
4042
Loader {
4143
id: right_detail
4244
Layout.alignment: Qt.AlignRight
45+
Layout.topMargin: 4
46+
Layout.rightMargin: 4
4347
active: true
4448
visible: active
4549
sourceComponent: root.rightDetail

0 commit comments

Comments
 (0)