Commit 9b448752 authored by Nate Graham's avatar Nate Graham
Browse files

[applets/digital-clock] Fix timezone placeholder message positioning

The positioning here was funky as if it was trying to to do something
clever, but instead all it did was cause the text to overlap with the
first list item entry with certain combinations of font size and window
size. Instead let's just do the typical thing.
parent 9ef9a79f
...@@ -127,11 +127,7 @@ ColumnLayout { ...@@ -127,11 +127,7 @@ ColumnLayout {
Kirigami.PlaceholderMessage { Kirigami.PlaceholderMessage {
visible: configuredTimezoneList.count === 1 visible: configuredTimezoneList.count === 1
anchors { anchors.centerIn: parent
horizontalCenter: parent.horizontalCenter
bottom: parent.bottom
bottomMargin: Kirigami.Units.gridUnit * 7
}
width: parent.width - (Kirigami.Units.largeSpacing * 12) width: parent.width - (Kirigami.Units.largeSpacing * 12)
text: i18n("Add more time zones to display all of them in the applet's pop-up, or use one of them for the clock itself") text: i18n("Add more time zones to display all of them in the applet's pop-up, or use one of them for the clock itself")
} }
......
Supports Markdown
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