Home
Phabricator
Search
Log In
Files
F5445601
0001-Align-logout-screen-action-buttons-to-the-top.patch
aleksejshilin (Алексей Шилин)
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Author
aleksejshilin
Created
Oct 23 2017, 12:56 PM
Size
1 KB
Mime Type
text/x-diff
Engine
blob
Format
Raw Data
Handle
3302208
Attached To
D8397: Align logout screen action buttons to the top
0001-Align-logout-screen-action-buttons-to-the-top.patch
View Options
From 002167bcf291085f7b3d7025c1a3ad887c4c51f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9=20=D0=A8=D0=B8?=
=?UTF-8?q?=D0=BB=D0=B8=D0=BD?= <rootlexx@mail.ru>
Date: Sat, 21 Oct 2017 01:15:16 +0300
Subject: [PATCH] Align logout screen action buttons to the top
With default vertical alignment to the center, the buttons became
misaligned when their text labels had different number of rows.
BUG: 371249
---
lookandfeel/contents/logout/LogoutButton.qml | 1 +
1 file changed, 1 insertion(+)
diff --git a/lookandfeel/contents/logout/LogoutButton.qml b/lookandfeel/contents/logout/LogoutButton.qml
index cd7f9c9d..7a6fa0c1 100644
--- a/lookandfeel/contents/logout/LogoutButton.qml
+++ b/lookandfeel/contents/logout/LogoutButton.qml
@@ -27,6 +27,7 @@ import "../components"
ActionButton {
property var action
onClicked: action()
+ Layout.alignment: Qt.AlignTop
iconSize: units.iconSizes.huge
opacity: activeFocus || containsMouse ? 1 : 0.5
Behavior on opacity {
--
2.11.0
Log In to Comment