diff options
author | Alberto Mardegan <mardy@users.sourceforge.net> | 2017-11-18 21:48:08 +0200 |
---|---|---|
committer | Alberto Mardegan <mardy@users.sourceforge.net> | 2017-11-23 08:56:55 +0000 |
commit | 73d374b1aa8f59c624592880d2edbcf30c132fb5 (patch) | |
tree | f142d4dbedd2eadeedd80b77e10b83d6155c50ab /src/controls/Private/BasicTableView.qml | |
parent | df47fdb8563452a1e68d4ec6d7c6eb36e7a9d353 (diff) | |
download | qtquickcontrols-73d374b1aa8f59c624592880d2edbcf30c132fb5.tar.gz |
ScrollView: fix cyclic Tab navigation
The ScrollView is not a control widget, which should be included in the
focus chain when the user presses the Tab key; instead, it's a container
and as such it should not interfere with the navigation.
We also modify TableView, because it derives from ScrollView but we
want to keep its current behavior.
Task-number: QTBUG-64596
Change-Id: Ibd7833603d38171693b2f34c5859e9c4615b8ed4
Reviewed-by: Liang Qi <liang.qi@qt.io>
Diffstat (limited to 'src/controls/Private/BasicTableView.qml')
-rw-r--r-- | src/controls/Private/BasicTableView.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/controls/Private/BasicTableView.qml b/src/controls/Private/BasicTableView.qml index 66ad0d36..2557dca7 100644 --- a/src/controls/Private/BasicTableView.qml +++ b/src/controls/Private/BasicTableView.qml @@ -348,6 +348,8 @@ ScrollView { } } + activeFocusOnTab: true + implicitWidth: 200 implicitHeight: 150 |