diff options
-rw-r--r-- | components/kube/contents/ui/AccountsView.qml | 28 |
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 | ||
19 | import QtQuick 2.4 | 19 | import QtQuick 2.4 |
20 | import QtQuick.Layouts 1.1 | 20 | import QtQuick.Layouts 1.1 |
21 | 21 | import QtQuick.Controls 1.3 as Controls | |
22 | import org.kube.framework 1.0 as Kube | 22 | import org.kube.framework 1.0 as Kube |
23 | 23 | ||
24 | Rectangle { | 24 | Rectangle { |
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 | } |