Commit 3c406779 authored by Nate Graham's avatar Nate Graham 🔩

[KCM] Try harder to display all text in the visualizations

Summary: 5.17

Test Plan: {F7641815}

Reviewers: romangg, #plasma

Reviewed By: romangg, #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D24834
parent 318c16f3
......@@ -71,7 +71,7 @@ Rectangle {
ColumnLayout {
anchors.centerIn: parent
spacing: units.smallSpacing
spacing: 0
width: parent.width
Layout.maximumHeight: parent.height
......@@ -80,19 +80,18 @@ Rectangle {
Layout.margins: units.smallSpacing
text: model.display
wrapMode: Text.Wrap
horizontalAlignment: Text.AlignHCenter
elide: Text.ElideRight
color: palette.text
}
Controls.Label {
Layout.fillWidth: true
Layout.margins: units.smallSpacing
Layout.bottomMargin: units.smallSpacing
text: "(" + model.size.width + "x" + model.size.height + ")"
horizontalAlignment: Text.AlignHCenter
elide: Text.ElideRight
color: palette.text
}
}
}
......
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