summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2017-05-03 19:07:49 +0200
committerMichael Bohlender <michael.bohlender@kdemail.net>2017-05-03 19:07:49 +0200
commit518b5f98a89d1625fd49d316c58db2871df6edd6 (patch)
tree9fb2c6a1ad7c9cf9b261d6503c37cb890f32d95a /components
parent8bc60f6b3fb54f844a026d505bf3f4070503f95d (diff)
downloadkube-518b5f98a89d1625fd49d316c58db2871df6edd6.tar.gz
kube-518b5f98a89d1625fd49d316c58db2871df6edd6.zip
use splitview in accountsview
Diffstat (limited to 'components')
-rw-r--r--components/kube/contents/ui/AccountsView.qml28
1 files changed, 9 insertions, 19 deletions
diff --git a/components/kube/contents/ui/AccountsView.qml b/components/kube/contents/ui/AccountsView.qml
index 6ab8387b..043126b8 100644
--- a/components/kube/contents/ui/AccountsView.qml
+++ b/components/kube/contents/ui/AccountsView.qml
@@ -18,24 +18,21 @@
18 18
19import QtQuick 2.4 19import QtQuick 2.4
20import QtQuick.Layouts 1.1 20import QtQuick.Layouts 1.1
21 21import QtQuick.Controls 1.3 as Controls
22import org.kube.framework 1.0 as Kube 22import org.kube.framework 1.0 as Kube
23 23
24Rectangle { 24Rectangle {
25 id: app
26
27 height: 800
28 width: 1400
29
30 color: Kube.Colors.backgroundColor 25 color: Kube.Colors.backgroundColor
31 26
32 RowLayout { 27 anchors.fill: parent
33 28
34 anchors.fill: parent 29 Controls.SplitView {
30 height: parent.height
31 width: parent.width
35 32
36 Item { 33 Item {
37 id: accountList 34 id: accountList
38 width: 300 35 width: Kube.Units.gridUnit * 15
39 Layout.fillHeight: true 36 Layout.fillHeight: true
40 37
41 Kube.PositiveButton { 38 Kube.PositiveButton {
@@ -91,28 +88,21 @@ Rectangle {
91 } 88 }
92 } 89 }
93 90
94 Rectangle {
95 height: parent.height
96 width: 1
97 color: Kube.Colors.buttonColor
98 }
99
100 Item { 91 Item {
101
102 height: parent.height 92 height: parent.height
103 width: 200 93 width: Kube.Units.gridUnit * 20
104 Layout.fillWidth: true 94 Layout.fillWidth: true
105 95
106 Kube.EditAccount { 96 Kube.EditAccount {
107 id: edit 97 id: edit
108
109 anchors { 98 anchors {
110 top: parent.top 99 top: parent.top
111 left: parent.left 100 left: parent.left
112 right: parent.right 101 right: parent.right
113 bottom: parent.bottom 102 bottom: parent.bottom
114 margins: Kube.Units.largeSpacing 103 bottomMargin: Kube.Units.largeSpacing
115 } 104 }
105
116 } 106 }
117 } 107 }
118 } 108 }