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

[LVGL] Support 'OR'ed properties #494

Closed
arturo182 opened this issue Aug 26, 2024 · 2 comments
Closed

[LVGL] Support 'OR'ed properties #494

arturo182 opened this issue Aug 26, 2024 · 2 comments
Assignees
Milestone

Comments

@arturo182
Copy link

Some properties in LVGL are actually a bit mask and allow for a little flexibility in how they are set.

One such property is Border Side, you can have a border on the Left, or on the Top, but also on the Left AND the Top. Another such property is Text Decoration, there might be more.

At the moment EEZ Studio has a fixed list of possible values for those properties and doesn't allow for full flexibility:
image

As for how this could be solved, for example in Qt, they have a collapsible list of checkboxes that create the ORed mask:

image

It would be great if this found its way to EEZ Studio at some point 🙂

Thanks!

@mvladic mvladic modified the milestones: M22, M23 Aug 26, 2024
mvladic added a commit that referenced this issue Sep 26, 2024
mvladic added a commit that referenced this issue Sep 26, 2024
@mvladic
Copy link
Contributor

mvladic commented Sep 26, 2024

Implemented for the "Border side" and "Text decoration":

image

@arturo182
Copy link
Author

Thank you :)

@mvladic mvladic closed this as completed Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants