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

Content of resizeable window #3

Open
k1631444 opened this issue Mar 16, 2018 · 1 comment
Open

Content of resizeable window #3

k1631444 opened this issue Mar 16, 2018 · 1 comment

Comments

@k1631444
Copy link

k1631444 commented Mar 16, 2018

Is there any way of forcing the content to resize to match the window size?

Thanks in advance
image

@k1631444
Copy link
Author

No worries, i figured something out,
I define SCREEN_SIZE_H = 928 SCREEN_SIZE_W = 522

and then use it when scaling for portrait

if self.scalep:
x = 0
w = SCREEN_SIZE_W
h = SCREEN_SIZE_H
image

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