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

Best option / practice for screen rotation (rotate widget) #742

Open
hohaha045 opened this issue Mar 4, 2025 · 2 comments
Open

Best option / practice for screen rotation (rotate widget) #742

hohaha045 opened this issue Mar 4, 2025 · 2 comments

Comments

@hohaha045
Copy link

hohaha045 commented Mar 4, 2025

I am trying to have a UI that is rotatable, similar to how a smartphone would rotate the screen,( press a button screen rotate from 0 degree to 90, press again: from 90 to 180 etc.)
and not sure what's my option for that.

Currently, my plan would be to duplicate a page 4 times, ie: main 0degree, main 90 degrees, main 180 degrees, main 270 degrees. And then rotate each widget individually.

However, the Transform rotation function worries me a bit, since the graphic is outside its selection box, and not quite sure if the rotation is memory intensive?

Image

Here's what I have right now

Image

And this is what I want

Image
@mvladic
Copy link
Contributor

mvladic commented Mar 4, 2025

My advice for you is to ask this question in the LVGL Forum. When you get the best advice how to do it in LVGL then you can come here and we can discuss what are the best options to support that solution in EEZ Studio.

@hohaha045
Copy link
Author

let me ask it there, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants