diff options
Diffstat (limited to 'components/mail/contents/ui/main.qml')
-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 | ||