Commit 26eff88d authored by Volker Krause's avatar Volker Krause
Browse files

Fix trend icon sizes on the statistics page

parent a7441e10
......@@ -22,8 +22,8 @@ RowLayout {
Kirigami.Icon {
source: root.statItem.trend == StatisticsItem.TrendUp ? "go-up-symbolic" : root.statItem.trend == StatisticsItem.TrendDown ? "go-down-symbolic" : "go-next-symbolic"
color: root.statItem.trend == StatisticsItem.TrendUp ? Kirigami.Theme.negativeTextColor : root.statItem.trend == StatisticsItem.TrendDown ? Kirigami.Theme.positiveTextColor : Kirigami.Theme.textColor
width: height
height: Kirigami.Units.gridUnit
Layout.preferredWidth: Kirigami.Units.gridUnit
Layout.preferredHeight: Kirigami.Units.gridUnit
visible: root.statItem.trend != StatisticsItem.TrendUnknown
}
......
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