Commit 65fc8044 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

[weather] Fix text in forecast to be really centered

parent 983a1c7e
......@@ -39,6 +39,7 @@ ColumnLayout {
font.bold: true
// still needed? was in old code
opacity: (text.indexOf("ight") !== -1 || text.indexOf("nite") !== -1) ? 0.6 : 1
horizontalAlignment: Text.AlignHCenter
text: {
var time = cellData;
......@@ -57,6 +58,8 @@ ColumnLayout {
PlasmaComponents.Label {
Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter
horizontalAlignment: Text.AlignHCenter
text: cellData
}
}
......
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