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

Make grid responsive #23

Open
KingNook opened this issue Sep 18, 2024 · 0 comments
Open

Make grid responsive #23

KingNook opened this issue Sep 18, 2024 · 0 comments
Labels
feature New feature or request

Comments

@KingNook
Copy link
Owner

Context

So after opening #21 I realized the grid itself also needs to be resizable. Which means not only the window size (which seems easy enough, see linked stack overflow post in #21) but also the grid size and position. And the tile size. And the text size.

Thoughts / Challenges

Dynamic text size may be a challenge. I'll leave #4 open for now despite it being partially covered by the scope of this since I envisage it being the biggest pain to deal with. For the rest of them, I reckon using the @property decorator for all of them to scale wrt self.window_size would be the easiest way to do this (then on window resize, change <instance>.window_size and call <instance>.draw_grid() to update the image.

I do still suspect this'll be a pretty big task though

@KingNook KingNook added the feature New feature or request label Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant