jatu-studiobox / node-red-contrib-ui-widget-thermometer

Node-RED UI Widget Thermometer node for Node-RED Dashboard
Apache License 2.0
6 stars 3 forks source link

Possibility to change font size #10

Closed btuerk89 closed 1 year ago

btuerk89 commented 1 year ago

Hi,

it would be very nice to implement the possibility to change the font size of the actual temperature to use the free space. Actually it is too small for use in smarthome dashboard on a 10" tab. image

Thank you in advance.

jatu-studiobox commented 1 year ago

Sorry for late reply.

Thank you for your comment. Could you share about your 10" tab screen? I will check it before improvement. :-)

btuerk89 commented 1 year ago

Hi,

I think it makes no sense to share some picture or screenshot from my tablet.

But maybe this could help: The screenshot above is on my tablet exact 5.7 centimeter wide. Maybe you can zoom it or copy it to e.g. MS Word to that size. Then step back about 1.5 to 2 meters from your screen and try to read the text. --> It is very hard. ;)

In the meanwhile I played a bit with the size (ui_widget_thermometer.js in line 145) and I think 3 is OK as "large text option". With larger texts I figured out that on 100% of the scale the text is cut off at the top. Maybe you can add some free space on top of the mercury in general.

Sorry for the long text and thank you in advance. :)

BR

jatu-studiobox commented 1 year ago

Thank you very much for your advise.

I already have found point that need to be fixed, but I'm not sure what size that should be.

Ok. I will be add one more config "current temp font size" at config node instead.

Thank you very much for your reply :)

jatu-studiobox commented 1 year ago

Hi, @btuerk89 :)

I have already add this issue in 0.7.7 or lastest version.

Thank you very much for your issue.