diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2015-11-08 21:01:50 +0100 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2015-11-08 21:01:50 +0100 |
commit | 4dea0dc97524a7489a0f838af9ef4ba4c2835a8f (patch) | |
tree | d3f074f232bc7d23cd5a0b928effd5603324e007 /applications/kmail-quick/package/contents/ui/main.qml | |
parent | f5fa599274bfcbbb3434c74874160b1d36531383 (diff) | |
download | kube-4dea0dc97524a7489a0f838af9ef4ba4c2835a8f.tar.gz kube-4dea0dc97524a7489a0f838af9ef4ba4c2835a8f.zip |
add colorpalette and unit
Diffstat (limited to 'applications/kmail-quick/package/contents/ui/main.qml')
-rw-r--r-- | applications/kmail-quick/package/contents/ui/main.qml | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/applications/kmail-quick/package/contents/ui/main.qml b/applications/kmail-quick/package/contents/ui/main.qml index 75e781fc..4d53aa08 100644 --- a/applications/kmail-quick/package/contents/ui/main.qml +++ b/applications/kmail-quick/package/contents/ui/main.qml | |||
@@ -39,37 +39,35 @@ ApplicationWindow { | |||
39 | FolderListView { | 39 | FolderListView { |
40 | id: folderList | 40 | id: folderList |
41 | 41 | ||
42 | width: unit.width * 100 | 42 | width: unit.size * 55 |
43 | Layout.maximumWidth: unit.width * 200 | 43 | Layout.maximumWidth: unit.size * 150 |
44 | Layout.minimumWidth: unit.width * 50 | 44 | Layout.minimumWidth: unit.size * 30 |
45 | |||
46 | color: "green" | ||
47 | } | 45 | } |
48 | 46 | ||
49 | MailListView { | 47 | MailListView { |
50 | id: mailList | 48 | id: mailList |
51 | 49 | ||
52 | width: unit.width * 150 | 50 | width: unit.size * 80 |
53 | Layout.maximumWidth: unit.width * 300 | 51 | Layout.maximumWidth: unit.size * 250 |
54 | Layout.minimumWidth: unit.width * 50 | 52 | Layout.minimumWidth: unit.size * 50 |
55 | |||
56 | color: "red" | ||
57 | } | 53 | } |
58 | 54 | ||
59 | SingleMailView { | 55 | SingleMailView { |
60 | id: mailView | 56 | id: mailView |
61 | 57 | ||
62 | Layout.fillWidth: true | 58 | Layout.fillWidth: true |
63 | |||
64 | color: "blue" | ||
65 | } | 59 | } |
66 | } | 60 | } |
67 | 61 | ||
68 | //TODO find a better way to scale UI | 62 | //TODO find a better way to scale UI |
69 | Label { | 63 | Item { |
70 | id: unit | 64 | id: unit |
71 | 65 | ||
72 | text: " " | 66 | property int size: 5 |
67 | } | ||
68 | |||
69 | ColorPalette { | ||
70 | id: colorPalette | ||
73 | } | 71 | } |
74 | } | 72 | } |
75 | 73 | ||