lv_binding_rust icon indicating copy to clipboard operation
lv_binding_rust copied to clipboard

Decide what to do with styling API

Open nia-e opened this issue 2 years ago • 0 comments

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?

nia-e avatar May 04 '23 18:05 nia-e