Fix issue with thermometer and layout

[#45951537]

Set height of the thermometer fill in %, so it works nicely when the
outer container is resized.