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

Zoom #12

Open
eligolding opened this issue Jul 7, 2023 · 0 comments
Open

Zoom #12

eligolding opened this issue Jul 7, 2023 · 0 comments

Comments

@eligolding
Copy link
Owner

Make the + key double the text size. You will need to use the font argument in create_text to change the size of text, like this:

font = tkinter.font.Font(size=32)
canvas.create_text(200, 150, text="Hi!", font=font)

Be careful in how you split the task between layout and draw. Make sure that text doesn’t overlap when you zoom in and that scrolling works when zoomed in.

NOTE: now that we use css, this may need to be done differently

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