diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2018-07-05 13:47:53 +0200 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2018-07-05 13:47:53 +0200 |
commit | 75117bb742de6bb79e7078da2ff463c260bca517 (patch) | |
tree | aaed3d94e9af9327c7c20bb27a328ad7ae4614c7 | |
parent | 6db078747da43509f1f64392d3490627efb4ac1a (diff) | |
download | kube-75117bb742de6bb79e7078da2ff463c260bca517.tar.gz kube-75117bb742de6bb79e7078da2ff463c260bca517.zip |
adujst draftlist delegate accordingly
-rw-r--r-- | views/composer/qml/View.qml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/views/composer/qml/View.qml b/views/composer/qml/View.qml index 59ab3e92..babe5f47 100644 --- a/views/composer/qml/View.qml +++ b/views/composer/qml/View.qml | |||
@@ -105,7 +105,7 @@ Kube.View { | |||
105 | bottom: parent.bottom | 105 | bottom: parent.bottom |
106 | } | 106 | } |
107 | 107 | ||
108 | width: Kube.Units.gridUnit * 10 | 108 | width: Kube.Units.gridUnit * 15 |
109 | Layout.minimumWidth: Kube.Units.gridUnit * 5 | 109 | Layout.minimumWidth: Kube.Units.gridUnit * 5 |
110 | 110 | ||
111 | color: Kube.Colors.textColor | 111 | color: Kube.Colors.textColor |
@@ -122,10 +122,8 @@ Kube.View { | |||
122 | 122 | ||
123 | Kube.PositiveButton { | 123 | Kube.PositiveButton { |
124 | objectName: "newMailButton" | 124 | objectName: "newMailButton" |
125 | anchors { | 125 | |
126 | left: parent.left | 126 | width: parent.width - Kube.Units.largeSpacing |
127 | right: parent.right | ||
128 | } | ||
129 | focus: true | 127 | focus: true |
130 | text: qsTr("New Email") | 128 | text: qsTr("New Email") |
131 | onClicked: { | 129 | onClicked: { |
@@ -195,7 +193,7 @@ Kube.View { | |||
195 | } | 193 | } |
196 | 194 | ||
197 | Kube.Label { | 195 | Kube.Label { |
198 | width: content.width | 196 | width: content.width - Kube.Units.largeSpacing |
199 | text: model.subject == "" ? "no subject" : model.subject | 197 | text: model.subject == "" ? "no subject" : model.subject |
200 | color: Kube.Colors.highlightedTextColor | 198 | color: Kube.Colors.highlightedTextColor |
201 | maximumLineCount: 2 | 199 | maximumLineCount: 2 |
@@ -206,6 +204,7 @@ Kube.View { | |||
206 | Kube.Label { | 204 | Kube.Label { |
207 | anchors { | 205 | anchors { |
208 | right: parent.right | 206 | right: parent.right |
207 | rightMargin: Kube.Units.largeSpacing | ||
209 | bottom: parent.bottom | 208 | bottom: parent.bottom |
210 | } | 209 | } |
211 | text: Qt.formatDateTime(model.date, "dd MMM yyyy") | 210 | text: Qt.formatDateTime(model.date, "dd MMM yyyy") |
@@ -221,7 +220,8 @@ Kube.View { | |||
221 | anchors { | 220 | anchors { |
222 | right: parent.right | 221 | right: parent.right |
223 | bottom: parent.bottom | 222 | bottom: parent.bottom |
224 | margins: Kube.Units.smallSpacing | 223 | bottomMargin: Kube.Units.smallSpacing |
224 | rightMargin: Kube.Units.largeSpacing | ||
225 | } | 225 | } |
226 | 226 | ||
227 | visible: delegateRoot.hovered | 227 | visible: delegateRoot.hovered |