Skip to content
Commit 370b874a authored by Arjen Hiemstra's avatar Arjen Hiemstra
Browse files

faces/horizontalbars: Allow specifying the data range from config

In some cases, we may want to display sensors using this face that don't
have a proper min/max range. So add the same sort of configuration that
we have for other faces so it becomes possible to override the automatic
data range with a manually specified one.

While at it, port the actual bar implementation from a manual
implementation to a ProgressBar with overridden contentItem, as that
makes the code a fair bit easier to work with.

BUG: 479573


(cherry picked from commit 6b3b16c4)
parent 7d8f73ce
Pipeline #601697 passed with stage
in 2 minutes and 4 seconds
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