weather applet: convert newlines to br for RichText rendering
This commit is contained in:
parent
662c3590af
commit
0e9c1723f2
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ Column {
|
|||
Text {
|
||||
width: parent.width - 24
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
text: S.WeatherService.tooltip
|
||||
text: S.WeatherService.tooltip.replace(/\n/g, "<br>")
|
||||
textFormat: Text.RichText
|
||||
color: S.Theme.base05
|
||||
font.pixelSize: S.Theme.fontSize - 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue