Fix tab navigation

This commit is contained in:
Timotej Lazar 2021-09-16 16:57:45 +02:00
parent b5ae104bcd
commit 17a7e0108b
No known key found for this signature in database
GPG key ID: B6F38793D143456F
4 changed files with 5 additions and 10 deletions

View file

@ -122,7 +122,7 @@ Page {
onTextChanged: modified = true
KeyNavigation.priority: KeyNavigation.BeforeItem
KeyNavigation.tab: events
KeyNavigation.tab: nextItemInFocusChain()
Shortcut {
id: shortcutDescription
@ -168,8 +168,10 @@ Page {
Layout.fillHeight: true
Layout.rightMargin: -control.padding
focusPolicy: Qt.StrongFocus
padding: 1
rightPadding: 0
background: Rectangle {
color: 'transparent'
border.color: events.activeFocus ? palette.highlight : palette.dark