summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/kube/contents/ui/Kube.qml1
-rw-r--r--components/kube/contents/ui/MailView.qml7
2 files changed, 2 insertions, 6 deletions
diff --git a/components/kube/contents/ui/Kube.qml b/components/kube/contents/ui/Kube.qml
index 0a92b783..846e5ff2 100644
--- a/components/kube/contents/ui/Kube.qml
+++ b/components/kube/contents/ui/Kube.qml
@@ -28,7 +28,6 @@ Controls2.ApplicationWindow {
28 id: app 28 id: app
29 29
30 property int sidebarWidth: Kube.Units.gridUnit + Kube.Units.largeSpacing 30 property int sidebarWidth: Kube.Units.gridUnit + Kube.Units.largeSpacing
31 property bool small: app.width < Kube.Units.gridUnit * 50
32 31
33 height: Screen.desktopAvailableHeight * 0.8 32 height: Screen.desktopAvailableHeight * 0.8
34 width: Screen.desktopAvailableWidth * 0.8 33 width: Screen.desktopAvailableWidth * 0.8
diff --git a/components/kube/contents/ui/MailView.qml b/components/kube/contents/ui/MailView.qml
index 0c955fc6..8b2b0caf 100644
--- a/components/kube/contents/ui/MailView.qml
+++ b/components/kube/contents/ui/MailView.qml
@@ -26,14 +26,11 @@ import QtQuick.Layouts 1.1
26import org.kube.framework 1.0 as Kube 26import org.kube.framework 1.0 as Kube
27 27
28FocusScope { 28FocusScope {
29 RowLayout { 29 SplitView {
30 anchors.fill: parent 30 anchors.fill: parent
31 spacing: 1
32 Rectangle { 31 Rectangle {
33 width: Kube.Units.gridUnit * 10 32 width: Kube.Units.gridUnit * 10
34 Layout.fillHeight: parent.height 33 Layout.fillHeight: parent.height
35 visible: !app.small
36
37 color: Kube.Colors.textColor 34 color: Kube.Colors.textColor
38 35
39 Kube.PositiveButton { 36 Kube.PositiveButton {
@@ -98,7 +95,7 @@ FocusScope {
98 } 95 }
99 96
100 Rectangle { 97 Rectangle {
101 Layout.preferredWidth: app.small ? Kube.Units.gridUnit * 12 : Kube.Units.gridUnit * 20 98 width: Kube.Units.gridUnit * 18
102 Layout.fillHeight: parent.height 99 Layout.fillHeight: parent.height
103 100
104 color: "transparent" 101 color: "transparent"