Commit 0b407794 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Improve the KSMServer integration with non-default themes

This patch fixes a problem that appeared when the Shutdown dialog
was displayed and the theme didn't offer the moon image (such as Caledonia).
This patch fixes this by properly anchoring the text item that says
Shutting down in X seconds".

REVIEW: 108797
BUG: 313778
parent 0f48f289
......@@ -186,14 +186,17 @@ PlasmaCore.FrameSvgItem {
Text {
id: automaticallyDoLabel
text: " "
font.pointSize: theme.desktopFont.pointSize >= 10 ? theme.desktopFont.pointSize*0.9 : theme.desktopFont.pointSize
color: theme.textColor
wrapMode: Text.WordWrap
horizontalAlignment: Text.AlignRight
anchors {
topMargin: realMarginTop
right: parent.right
rightMargin: realMarginRight
left: parent.left
leftMargin: realMarginLeft
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment