diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-06-18 16:37:46 +0200 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-06-18 16:37:46 +0200 |
commit | b66061727640f30b74c2848ce3d49f4c9263aff0 (patch) | |
tree | 3d677e03a17365c6b599fc18ea9977d905b690fa /accounts | |
parent | 4b23da770d606e94ef07a95f726af036ac96a94e (diff) | |
download | kube-b66061727640f30b74c2848ce3d49f4c9263aff0.tar.gz kube-b66061727640f30b74c2848ce3d49f4c9263aff0.zip |
adjust anchors to make maildir config ui a little less ugly
Diffstat (limited to 'accounts')
-rw-r--r-- | accounts/maildir/package/contents/ui/MaildirAccountSettings.qml | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/accounts/maildir/package/contents/ui/MaildirAccountSettings.qml b/accounts/maildir/package/contents/ui/MaildirAccountSettings.qml index 5ade461b..9b2f4438 100644 --- a/accounts/maildir/package/contents/ui/MaildirAccountSettings.qml +++ b/accounts/maildir/package/contents/ui/MaildirAccountSettings.qml | |||
@@ -20,23 +20,31 @@ import QtQuick.Controls 1.4 | |||
20 | import QtQuick.Layouts 1.1 | 20 | import QtQuick.Layouts 1.1 |
21 | import QtQuick.Dialogs 1.0 | 21 | import QtQuick.Dialogs 1.0 |
22 | 22 | ||
23 | import org.kde.kirigami 1.0 as Kirigami | ||
24 | |||
23 | import org.kube.framework.settings 1.0 as KubeSettings | 25 | import org.kube.framework.settings 1.0 as KubeSettings |
24 | import org.kube.framework.theme 1.0 | 26 | import org.kube.framework.theme 1.0 |
25 | import org.kube.accounts.maildir 1.0 as MaildirAccount | 27 | import org.kube.accounts.maildir 1.0 as MaildirAccount |
26 | 28 | ||
27 | 29 | ||
28 | Rectangle { | 30 | Item { |
29 | id: root | 31 | id: root |
32 | |||
30 | property string accountId | 33 | property string accountId |
31 | property string accountName | 34 | property string accountName |
32 | property string icon | 35 | property string icon |
33 | 36 | ||
34 | color: ColorPalette.background | 37 | anchors.fill: parent |
35 | 38 | ||
36 | GridLayout { | 39 | GridLayout { |
37 | id: gridLayout | 40 | id: gridLayout |
41 | |||
42 | anchors { | ||
43 | fill: parent | ||
44 | margins: Kirigami.Units.largeSpacing | ||
45 | } | ||
46 | |||
38 | columns: 2 | 47 | columns: 2 |
39 | Layout.fillWidth: true | ||
40 | 48 | ||
41 | Text { | 49 | Text { |
42 | Layout.columnSpan: 2 | 50 | Layout.columnSpan: 2 |