kaiakz / walv

[WIP] A LittlevGL-GUI designer on your browser
Apache License 2.0
108 stars 24 forks source link

Button disapeared/turns white when closing style editor #13

Open excitedbox opened 4 years ago

excitedbox commented 4 years ago

When selecting a button, opening the style editor and then closing it the button turns white.

Recreate problem: -Place button -Place object -Select button -Open style editor -Close style editor

kaiakz commented 4 years ago

The style editor only supports text, maybe walv applys the wrong style for the button(see wrapper.js), code.push(${id}.set_style(lv.label.STYLE.MAIN,s))

user446 commented 4 years ago

Actually happens with any widget added on a screen. They just become invisible.

excitedbox commented 4 years ago

Yes it seems to be that the ID is not passed on to the style editor.