diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-03-10 14:45:42 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-03-10 14:45:42 +0100 |
commit | ced0c73f7e5b8da83a0b5f51bf6220fb04c33cbf (patch) | |
tree | 748aca3ddd0b2170427d4f5a47c65090bd193aaf /components/mail | |
parent | d8e13159711576394099f8954368aeb9da7fa87a (diff) | |
parent | 1f1dbdf5af1af9a83d74113bbdf4132271d6ca51 (diff) | |
download | kube-ced0c73f7e5b8da83a0b5f51bf6220fb04c33cbf.tar.gz kube-ced0c73f7e5b8da83a0b5f51bf6220fb04c33cbf.zip |
Merge branch 'develop' of git://anongit.kde.org/kube into develop
Diffstat (limited to 'components/mail')
-rw-r--r-- | components/mail/contents/ui/main.qml | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/components/mail/contents/ui/main.qml b/components/mail/contents/ui/main.qml index 8f2d3c52..d864f2fc 100644 --- a/components/mail/contents/ui/main.qml +++ b/components/mail/contents/ui/main.qml | |||
@@ -22,6 +22,7 @@ import org.kde.plasma.components 2.0 as PlasmaComponents | |||
22 | 22 | ||
23 | import org.kube.framework.actions 1.0 as KubeAction | 23 | import org.kube.framework.actions 1.0 as KubeAction |
24 | import org.kube.framework.settings 1.0 as KubeSettings | 24 | import org.kube.framework.settings 1.0 as KubeSettings |
25 | import org.kube.framework.theme 1.0 | ||
25 | import org.kube.components 1.0 as KubeComponents | 26 | import org.kube.components 1.0 as KubeComponents |
26 | 27 | ||
27 | ApplicationWindow { | 28 | ApplicationWindow { |
@@ -154,17 +155,17 @@ ApplicationWindow { | |||
154 | 155 | ||
155 | KubeComponents.FolderListView { | 156 | KubeComponents.FolderListView { |
156 | id: folderListView | 157 | id: folderListView |
157 | width: unit.size * 55 | 158 | width: Unit.size * 55 |
158 | Layout.maximumWidth: unit.size * 150 | 159 | Layout.maximumWidth: Unit.size * 150 |
159 | Layout.minimumWidth: unit.size * 30 | 160 | Layout.minimumWidth: Unit.size * 30 |
160 | } | 161 | } |
161 | 162 | ||
162 | KubeComponents.MailListView { | 163 | KubeComponents.MailListView { |
163 | id: mailListView | 164 | id: mailListView |
164 | parentFolder: folderListView.currentFolder | 165 | parentFolder: folderListView.currentFolder |
165 | width: unit.size * 80 | 166 | width: Unit.size * 80 |
166 | Layout.maximumWidth: unit.size * 250 | 167 | Layout.maximumWidth: Unit.size * 250 |
167 | Layout.minimumWidth: unit.size * 50 | 168 | Layout.minimumWidth: Unit.size * 50 |
168 | focus: true | 169 | focus: true |
169 | } | 170 | } |
170 | 171 | ||
@@ -187,15 +188,5 @@ ApplicationWindow { | |||
187 | 188 | ||
188 | anchors.fill: parent | 189 | anchors.fill: parent |
189 | } | 190 | } |
190 | |||
191 | //TODO find a better way to scale UI | ||
192 | Item { | ||
193 | id: unit | ||
194 | property int size: 5 | ||
195 | } | ||
196 | |||
197 | KubeComponents.ColorPalette { | ||
198 | id: colorPalette | ||
199 | } | ||
200 | } | 191 | } |
201 | 192 | ||