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

[Feature/Enhancement] Request for max and min screen size #571

Open
chzhhong97 opened this issue Jun 18, 2024 · 0 comments
Open

[Feature/Enhancement] Request for max and min screen size #571

chzhhong97 opened this issue Jun 18, 2024 · 0 comments

Comments

@chzhhong97
Copy link

Request to add 2 more fields for max and min screen size, so the scaling wont less or more than min and max

Idea

double get scaleWidth => screenWidth.clamp(minScreenSize?.width ?? screenWidth, maxScreenSize?.width ?? screenWidth) / _uiSize.width;
setWidth => width * scaleWidth;

Not sure is there any feature to set min and max of screen size, so I make this post to request

@chzhhong97 chzhhong97 changed the title Request for max and min screen size [Feature/Enhancement] Request for max and min screen size Jun 18, 2024
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

1 participant