diff options
-rw-r--r-- | components/kube/contents/ui/ComposerView.qml | 38 |
1 files changed, 26 insertions, 12 deletions
diff --git a/components/kube/contents/ui/ComposerView.qml b/components/kube/contents/ui/ComposerView.qml index 79e2f967..2123cb32 100644 --- a/components/kube/contents/ui/ComposerView.qml +++ b/components/kube/contents/ui/ComposerView.qml | |||
@@ -86,7 +86,7 @@ Kube.View { | |||
86 | bottom: parent.bottom | 86 | bottom: parent.bottom |
87 | } | 87 | } |
88 | 88 | ||
89 | width: Kube.Units.gridUnit * 15 | 89 | width: Kube.Units.gridUnit * 10 |
90 | Layout.minimumWidth: Kube.Units.gridUnit * 5 | 90 | Layout.minimumWidth: Kube.Units.gridUnit * 5 |
91 | 91 | ||
92 | color: Kube.Colors.textColor | 92 | color: Kube.Colors.textColor |
@@ -104,7 +104,6 @@ Kube.View { | |||
104 | anchors { | 104 | anchors { |
105 | left: parent.left | 105 | left: parent.left |
106 | right: parent.right | 106 | right: parent.right |
107 | margins: Kube.Units.largeSpacing | ||
108 | } | 107 | } |
109 | focus: true | 108 | focus: true |
110 | text: qsTr("New Email") | 109 | text: qsTr("New Email") |
@@ -236,7 +235,7 @@ Kube.View { | |||
236 | rightMargin: Kube.Units.largeSpacing + Kube.Units.gridUnit * 2 | 235 | rightMargin: Kube.Units.largeSpacing + Kube.Units.gridUnit * 2 |
237 | } | 236 | } |
238 | 237 | ||
239 | spacing: Kube.Units.smallSpacing * 2 | 238 | spacing: Kube.Units.smallSpacing |
240 | 239 | ||
241 | Kube.TextField { | 240 | Kube.TextField { |
242 | id: subject | 241 | id: subject |
@@ -270,17 +269,32 @@ Kube.View { | |||
270 | } | 269 | } |
271 | 270 | ||
272 | RowLayout { | 271 | RowLayout { |
273 | Kube.IconButton { | 272 | |
274 | iconName: Kube.Icons.bold | 273 | spacing: Kube.Units.largeSpacing |
275 | checkable: true | 274 | |
276 | } | 275 | Kube.Button { |
277 | Kube.IconButton { | 276 | id: html |
278 | iconName: Kube.Icons.italic | 277 | |
278 | text: "P/H" | ||
279 | checkable: true | 279 | checkable: true |
280 | |||
280 | } | 281 | } |
281 | Kube.IconButton { | 282 | |
282 | iconName: Kube.Icons.underline | 283 | Row { |
283 | checkable: true | 284 | visible: html.checked |
285 | |||
286 | Kube.IconButton { | ||
287 | iconName: Kube.Icons.bold | ||
288 | checkable: true | ||
289 | } | ||
290 | Kube.IconButton { | ||
291 | iconName: Kube.Icons.italic | ||
292 | checkable: true | ||
293 | } | ||
294 | Kube.IconButton { | ||
295 | iconName: Kube.Icons.underline | ||
296 | checkable: true | ||
297 | } | ||
284 | } | 298 | } |
285 | 299 | ||
286 | Item { | 300 | Item { |