diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-04-25 17:47:37 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-04-25 17:47:37 +0200 |
commit | c510985f0c51854b6310b33ec5aa59ad188f4cfc (patch) | |
tree | f0bbdc7a79f57547c79dfd8da9b49ba5aeffda61 /components | |
parent | cf7cc1d9707399c3cc270f4b3c6987175d7baf49 (diff) | |
download | kube-c510985f0c51854b6310b33ec5aa59ad188f4cfc.tar.gz kube-c510985f0c51854b6310b33ec5aa59ad188f4cfc.zip |
Keyboard focus for toolbar and folder list
Diffstat (limited to 'components')
-rw-r--r-- | components/kube/contents/ui/Kube.qml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/components/kube/contents/ui/Kube.qml b/components/kube/contents/ui/Kube.qml index 33abaadb..3b58a9b7 100644 --- a/components/kube/contents/ui/Kube.qml +++ b/components/kube/contents/ui/Kube.qml | |||
@@ -102,8 +102,8 @@ Controls2.ApplicationWindow { | |||
102 | id: sideBar | 102 | id: sideBar |
103 | 103 | ||
104 | anchors { | 104 | anchors { |
105 | top: parent.top | 105 | top: mainContent.top |
106 | bottom: parent.bottom | 106 | bottom: mainContent.bottom |
107 | } | 107 | } |
108 | width: Kube.Units.gridUnit + Kube.Units.largeSpacing | 108 | width: Kube.Units.gridUnit + Kube.Units.largeSpacing |
109 | color: Kube.Colors.statusbarColor | 109 | color: Kube.Colors.statusbarColor |
@@ -171,8 +171,8 @@ Controls2.ApplicationWindow { | |||
171 | 171 | ||
172 | SplitView { | 172 | SplitView { |
173 | anchors { | 173 | anchors { |
174 | top: parent.top | 174 | top: mainContent.top |
175 | bottom: parent.bottom | 175 | bottom: mainContent.bottom |
176 | } | 176 | } |
177 | Layout.fillWidth: true | 177 | Layout.fillWidth: true |
178 | 178 | ||
@@ -181,6 +181,7 @@ Controls2.ApplicationWindow { | |||
181 | Layout.minimumWidth: Kube.Units.gridUnit * 5 | 181 | Layout.minimumWidth: Kube.Units.gridUnit * 5 |
182 | 182 | ||
183 | color: Kube.Colors.textColor | 183 | color: Kube.Colors.textColor |
184 | focus: true | ||
184 | 185 | ||
185 | Kube.PositiveButton { | 186 | Kube.PositiveButton { |
186 | id: newMailButton | 187 | id: newMailButton |
@@ -202,6 +203,7 @@ Controls2.ApplicationWindow { | |||
202 | Kube.InlineAccountSwitcher { | 203 | Kube.InlineAccountSwitcher { |
203 | id: accountFolderview | 204 | id: accountFolderview |
204 | 205 | ||
206 | activeFocusOnTab: true | ||
205 | anchors { | 207 | anchors { |
206 | top: newMailButton.bottom | 208 | top: newMailButton.bottom |
207 | topMargin: Kube.Units.largeSpacing | 209 | topMargin: Kube.Units.largeSpacing |
@@ -245,7 +247,6 @@ Controls2.ApplicationWindow { | |||
245 | width: Kube.Units.gridUnit * 20 | 247 | width: Kube.Units.gridUnit * 20 |
246 | height: parent.height | 248 | height: parent.height |
247 | Layout.minimumWidth: Kube.Units.gridUnit * 10 | 249 | Layout.minimumWidth: Kube.Units.gridUnit * 10 |
248 | focus: true | ||
249 | } | 250 | } |
250 | 251 | ||
251 | Kube.ConversationView { | 252 | Kube.ConversationView { |