From c510985f0c51854b6310b33ec5aa59ad188f4cfc Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 25 Apr 2017 17:47:37 +0200 Subject: Keyboard focus for toolbar and folder list --- components/kube/contents/ui/Kube.qml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'components') 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 { id: sideBar anchors { - top: parent.top - bottom: parent.bottom + top: mainContent.top + bottom: mainContent.bottom } width: Kube.Units.gridUnit + Kube.Units.largeSpacing color: Kube.Colors.statusbarColor @@ -171,8 +171,8 @@ Controls2.ApplicationWindow { SplitView { anchors { - top: parent.top - bottom: parent.bottom + top: mainContent.top + bottom: mainContent.bottom } Layout.fillWidth: true @@ -181,6 +181,7 @@ Controls2.ApplicationWindow { Layout.minimumWidth: Kube.Units.gridUnit * 5 color: Kube.Colors.textColor + focus: true Kube.PositiveButton { id: newMailButton @@ -202,6 +203,7 @@ Controls2.ApplicationWindow { Kube.InlineAccountSwitcher { id: accountFolderview + activeFocusOnTab: true anchors { top: newMailButton.bottom topMargin: Kube.Units.largeSpacing @@ -245,7 +247,6 @@ Controls2.ApplicationWindow { width: Kube.Units.gridUnit * 20 height: parent.height Layout.minimumWidth: Kube.Units.gridUnit * 10 - focus: true } Kube.ConversationView { -- cgit v1.2.3