weather applet: use RichText for wttrbar HTML tooltip
This commit is contained in:
parent
9285365732
commit
a6ca4df29f
1 changed files with 2 additions and 1 deletions
|
|
@ -22,11 +22,12 @@ Column {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Forecast details from wttrbar tooltip
|
// Forecast details from wttrbar tooltip (may contain HTML from waybar format)
|
||||||
Text {
|
Text {
|
||||||
width: parent.width - 24
|
width: parent.width - 24
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
text: S.WeatherService.tooltip
|
text: S.WeatherService.tooltip
|
||||||
|
textFormat: Text.RichText
|
||||||
color: S.Theme.base05
|
color: S.Theme.base05
|
||||||
font.pixelSize: S.Theme.fontSize - 2
|
font.pixelSize: S.Theme.fontSize - 2
|
||||||
font.family: S.Theme.fontFamily
|
font.family: S.Theme.fontFamily
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue