Hi, I am trying out the spinbox, here is a short list of issues/suggestions:
- "+" buttons color aren't updated (see the screenshot)
- the value is not centered by default (caused by padding set to 0, removing the padding in the generated code fixes it)
- I haven't seen a way to set a value range or rollover.
- [minor] we can also see that when the precision is 0 (after the point) there is still a point in the preview
Also the padding isn't right compared to the real application:
Hello @FederAndInk
Sorry for the inconvenient to you, thanks so much for all of your sharing and suggestions, very useful. I have reproduce the issues on my side, and I will reported to GUI Guider development team.
For the issue "- I haven't seen a way to set a value range or rollover.", could you please descript it more detail by screenshot. thanks.
BR
Alice
Hi @Alice_Yang,
Thanks for all your answers, about the value range and rollover, it is referring to these LVGL functions:
- https://docs.lvgl.io/latest/en/html/widgets/spinbox.html#_CPPv423lv_spinbox_set_rolloverP8lv_obj_tb
It would be great to have a way to set these in gui guider directly in the property list
Hello @FederAndInk
Sorry I really didn't see this case, I will working on it, will reply you .ASAP.
BR
Alice
I found what is causing the button color to not be refreshed, when putting the spinbox precision/decimal to 0 (on the screenshot it is annotated as 1) Gui Guider enters an unstable state where things break. It also prevents some widgets to render
here is the behavior with a precision/decimal other than 0 (we can see the widgets render):
I also attached the guiguider file, so you can see what is going on