@@ -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
@@ -155,6 +155,7 @@ Item {
155155 title: i18n.ctr("Title: Lock/Log out dialog", "Log out")
156156 text: i18n.tr("Are you sure you want to log out?")
157157 Button {
158+ width: parent.width
158159 text: i18n.ctr("Button: Lock the system", "Lock")
159160 onClicked: {
160161 LightDMService.greeter.showGreeter()
@@ -162,6 +163,8 @@ Item {
162163 }
163164 }
164165 Button {
166+ width: parent.width
167+ focus: true
165168 text: i18n.ctr("Button: Log out from the system", "Log Out")
166169 onClicked: {
167170 unitySessionService.logout();
@@ -169,6 +172,7 @@ Item {
169172 }
170173 }
171174 Button {
175+ width: parent.width
172176 text: i18n.tr("Cancel")
173177 onClicked: {
174178 logoutDialog.hide();
@@ -185,6 +189,7 @@ Item {
185189 title: i18n.ctr("Title: Reboot dialog", "Reboot")
186190 text: i18n.tr("Are you sure you want to reboot?")
187191 Button {
192+ width: parent.width
188193 text: i18n.tr("No")
189194 onClicked: {
190195 rebootDialog.hide();
@@ -192,6 +197,8 @@ Item {
192197 Component.onCompleted: if (root.hasKeyboard) forceActiveFocus(Qt.TabFocusReason)
193198 }
194199 Button {
200+ width: parent.width
201+ focus: true
195202 text: i18n.tr("Yes")
196203 onClicked: {
197204 root.closeAllApps();
@@ -210,6 +217,8 @@ Item {
210217 title: i18n.ctr("Title: Power off/Restart dialog", "Power")
211218 text: i18n.tr("Are you sure you would like\nto power off?")
212219 Button {
220+ width: parent.width
221+ focus: true
213222 text: i18n.ctr("Button: Power off the system", "Power off")
214223 onClicked: {
215224 root.closeAllApps();
@@ -219,6 +228,7 @@ Item {
219228 color: theme.palette.normal.negative
220229 }
221230 Button {
231+ width: parent.width
222232 text: i18n.ctr("Button: Restart the system", "Restart")
223233 onClicked: {
224234 root.closeAllApps();
@@ -227,6 +237,7 @@ Item {
227237 }
228238 }
229239 Button {
240+ width: parent.width
230241 text: i18n.tr("Cancel")
231242 onClicked: {
232243 powerDialog.hide();