@@ -1,5 +1,5 @@
11/*
2− * Copyright (C) 2014-2016 Canonical, Ltd.
2+ * Copyright (C) 2014-2017 Canonical, Ltd.
33 *
44 * This program is free software; you can redistribute it and/or modify
55 * it under the terms of the GNU General Public License as published by
@@ -149,6 +149,7 @@ Item {
149149 title: i18n.ctr("Title: Lock/Log out dialog", "Log out")
150150 text: i18n.tr("Are you sure you want to log out?")
151151 Button {
152+ width: parent.width
152153 text: i18n.ctr("Button: Lock the system", "Lock")
153154 onClicked: {
154155 LightDMService.greeter.showGreeter()
@@ -156,6 +157,7 @@ Item {
156157 }
157158 }
158159 Button {
160+ width: parent.width
159161 focus: true
160162 text: i18n.ctr("Button: Log out from the system", "Log Out")
161163 onClicked: {
@@ -164,6 +166,7 @@ Item {
164166 }
165167 }
166168 Button {
169+ width: parent.width
167170 text: i18n.tr("Cancel")
168171 onClicked: {
169172 logoutDialog.hide();
@@ -179,12 +182,14 @@ Item {
179182 title: i18n.ctr("Title: Reboot dialog", "Reboot")
180183 text: i18n.tr("Are you sure you want to reboot?")
181184 Button {
185+ width: parent.width
182186 text: i18n.tr("No")
183187 onClicked: {
184188 rebootDialog.hide();
185189 }
186190 }
187191 Button {
192+ width: parent.width
188193 focus: true
189194 text: i18n.tr("Yes")
190195 onClicked: {
@@ -204,6 +209,7 @@ Item {
204209 title: i18n.ctr("Title: Power off/Restart dialog", "Power")
205210 text: i18n.tr("Are you sure you would like\nto power off?")
206211 Button {
212+ width: parent.width
207213 focus: true
208214 text: i18n.ctr("Button: Power off the system", "Power off")
209215 onClicked: {
@@ -214,6 +220,7 @@ Item {
214220 color: theme.palette.normal.negative
215221 }
216222 Button {
223+ width: parent.width
217224 text: i18n.ctr("Button: Restart the system", "Restart")
218225 onClicked: {
219226 root.closeAllApps();
@@ -222,6 +229,7 @@ Item {
222229 }
223230 }
224231 Button {
232+ width: parent.width
225233 text: i18n.tr("Cancel")
226234 onClicked: {
227235 powerDialog.hide();