mvturnho / OpenHaspDesigner

Web based designer for OpenHasp project
MIT License
29 stars 6 forks source link

Color Picker aspect ratio #8

Open smcgann99 opened 1 month ago

smcgann99 commented 1 month ago

Firstly, wow this project has moved on a lot since the last time I looked at it ;-)

About the above, the color pick can have none equal hight / width, where one is bigger than the other, then its possible to have the picker look more like a slider e.g. (This is how it works in openHASP)

image

mvturnho commented 1 month ago

Hi thanks for your feedback,

Can you add the jsonl for this color picker slider. Then I can see how to make this work.

smcgann99 commented 1 month ago

{ id: 102, obj: "cpicker", x: 30, y: 190, w: 420, h: 50, border_width20: 2, border_color20: "black", pad_left20: 6, pad_right20: 6, pad_top20: 6, pad_bottom20: 6, pad_inner: 30 },