summaryrefslogtreecommitdiffstats
path: root/components/mail/contents/ui/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/mail/contents/ui/main.qml')
-rw-r--r--components/mail/contents/ui/main.qml61
1 files changed, 30 insertions, 31 deletions
diff --git a/components/mail/contents/ui/main.qml b/components/mail/contents/ui/main.qml
index e0ffcb20..188031cc 100644
--- a/components/mail/contents/ui/main.qml
+++ b/components/mail/contents/ui/main.qml
@@ -118,49 +118,48 @@ ApplicationWindow {
118 } 118 }
119 } 119 }
120 120
121 RowLayout { 121 Item {
122 height: parent.height 122 height: parent.height
123 width: mailListView.width 123 width: mailListView.width
124 clip: true 124 clip: true
125 125
126 ToolButton { 126 RowLayout {
127 height: toolbar.height 127 anchors.centerIn: parent
128 width: toolbar.width 128
129 iconName: "mail-mark-unread" 129 ToolButton {
130 text: "Mark As Read" 130 height: toolbar.height
131 enabled: markAsReadAction.ready 131 width: toolbar.width
132 onClicked: { 132 iconName: "mail-mark-unread"
133 markAsReadAction.execute() 133 text: "Mark As Read"
134 enabled: markAsReadAction.ready
135 onClicked: {
136 markAsReadAction.execute()
137 }
134 } 138 }
135 }
136 139
137 ToolButton { 140 ToolButton {
138 height: toolbar.height 141 height: toolbar.height
139 width: toolbar.width 142 width: toolbar.width
140 iconName: "mail-mark-important" 143 iconName: "mail-mark-important"
141 text: "Mark Important" 144 text: "Mark Important"
142 enabled: false 145 enabled: false
143 onClicked: { 146 onClicked: {
147 }
144 } 148 }
145 }
146 149
147 ToolButton { 150 ToolButton {
148 height: toolbar.height 151 height: toolbar.height
149 width: toolbar.width 152 width: toolbar.width
150 iconName: "edit-delete" 153 iconName: "edit-delete"
151 text: "Delete Mail" 154 text: "Delete Mail"
152 enabled: deleteAction.ready 155 enabled: deleteAction.ready
153 onClicked: { 156 onClicked: {
154 deleteAction.execute() 157 deleteAction.execute()
158 }
155 } 159 }
156 } 160 }
157
158 Item {
159 Layout.fillWidth: true
160 }
161 } 161 }
162 162
163
164 RowLayout{ 163 RowLayout{
165 height: parent.height 164 height: parent.height
166 width: mailView.width - 5 //to adjust for the toolbar spacing 165 width: mailView.width - 5 //to adjust for the toolbar spacing