knowthelist / fhem-tablet-ui

UI builder framework for FHEM
MIT License
148 stars 84 forks source link

Bug: Thermostat sizes not as readme #134

Closed malcb closed 8 years ago

malcb commented 8 years ago

The readme says that thermostat class sizes are: mini, small, big, bigger, readonly (knob has mini, small, large, readonly). The ones that work are large (150px) and big (210px). Default is 100px.

The tablet css defines large, big, bigger, bigplus, grande and small. It would be useful to be able to have larger sizes than 210px (i.e. bigger, bigplus, grande).

malcb commented 8 years ago

For those who can't wait for a fix then you need to add lines in widget_knob.js at line 38 to define bigger etc.. Just duplicate line 38 and change it.

malcb commented 8 years ago

However, the current temperature and valve position are a hard code size in the js. So making the thermostat bigger does not increase the size of the font. It's pretty poor not to be able to resize the font and not to have it scale.

knowthelist commented 8 years ago

fixed