diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-03-08 17:25:58 +0100 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-03-08 17:25:58 +0100 |
commit | 9b70960a07c5abca4be90d5b2fdf11e2933b6fb7 (patch) | |
tree | 74fdb89f2b43189110e7656e5756b40104cb5b09 | |
parent | 0f558eb57baf9c0e7384ce5b288dd7a94546d39b (diff) | |
download | kube-9b70960a07c5abca4be90d5b2fdf11e2933b6fb7.tar.gz kube-9b70960a07c5abca4be90d5b2fdf11e2933b6fb7.zip |
remove discard button and move send button to the right as suggested by the VDG
-rw-r--r-- | applications/kube-mail/package/contents/ui/FocusComposer.qml | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/applications/kube-mail/package/contents/ui/FocusComposer.qml b/applications/kube-mail/package/contents/ui/FocusComposer.qml index 2be656ab..8ec01cc9 100644 --- a/applications/kube-mail/package/contents/ui/FocusComposer.qml +++ b/applications/kube-mail/package/contents/ui/FocusComposer.qml | |||
@@ -65,7 +65,7 @@ Rectangle { | |||
65 | } | 65 | } |
66 | 66 | ||
67 | RowLayout { | 67 | RowLayout { |
68 | Layout.fillWidth: true | 68 | Layout.alignment: Qt.AlignRight |
69 | 69 | ||
70 | Button { | 70 | Button { |
71 | text: "Send" | 71 | text: "Send" |
@@ -75,24 +75,6 @@ Rectangle { | |||
75 | root.visible = false | 75 | root.visible = false |
76 | } | 76 | } |
77 | } | 77 | } |
78 | |||
79 | Button { | ||
80 | text: "Save Draft" | ||
81 | |||
82 | onClicked: { | ||
83 | composer.saveAsDraft() | ||
84 | root.visible = false | ||
85 | } | ||
86 | } | ||
87 | |||
88 | Button { | ||
89 | text: "Discard" | ||
90 | |||
91 | onClicked: { | ||
92 | composer.clear() | ||
93 | root.visible = false | ||
94 | } | ||
95 | } | ||
96 | } | 78 | } |
97 | } | 79 | } |
98 | } | 80 | } |