Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decide what to do with styling API #109

Open
nia-e opened this issue May 4, 2023 · 0 comments
Open

Decide what to do with styling API #109

nia-e opened this issue May 4, 2023 · 0 comments
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@nia-e
Copy link
Collaborator

nia-e commented May 4, 2023

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 nia-e added help wanted Extra attention is needed question Further information is requested labels May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant