lv_binding_rust
lv_binding_rust copied to clipboard
Decide what to do with styling API
LVGL supports setting certain parameters either by creating a Style, configuring it, and assigning it to a widget, or directly on a widget (e.g. setting width either by using ExampleWidget.set_width(...) or Style.set_width(...) and then .add_style(...)ing the latter). Do we want to support everything that the C bindings do including duplicate functionality or only support one where there are 2 options (presumably the Style option, as that is mostly what we've been doing)?
If there is a concrete difference between the 2 options in the example, what is it?