hotNipi / node-red-contrib-ui-level

A linear level type widget to the Node-RED dashboard
MIT License
27 stars 6 forks source link

It would be great if the UI_Level would auto scale with customer widget sizes #21

Closed RichChism closed 4 years ago

RichChism commented 4 years ago

Is your feature request related to a problem? Please describe. With the default widget size of 48x48 pixels the levels look great but when scaling to say 96x96 the level does not seem to scale with the specified widget size. For example if you have a level set to a widgets size of 2x1 at 48x48 pixels it looks great but if you double the pixel resolution to 96x96 the level only fills half of the widgest defined space.

Describe the solution you'd like It would be great if it auto scaled with the resolution. in a very old version I think 0.2 it scaled correctly.

image

image

image

image

image

RichChism commented 4 years ago

Issue is related to the Node-Red dashboard. It is corrected when upgrading to the latest dashboard. Using the latest dashboard corrects the issue.

node-red-dashboard from 2.14.0 to 2.19.4****

hotNipi commented 4 years ago

Known issue. It requires complete redesign. A lot of work so no quick fix to expect. PR always welcome.

hotNipi commented 4 years ago

Issue is related to the Node-Red dashboard. It is corrected when upgrading to the latest dashboard. Using the latest dashboard corrects the issue.

node-red-dashboard from 2.14.0 to 2.19.4****

This is ofcourse good news but really there is more than one size issues I have to address in some future. I must remember that there is actual users with double sized unit factor for dashboard layout.