po lu
po lu

Reputation: 1

How can I scale the contents of a tkinter window up and down?

Well I need to scale (kinda like changing the screen resolution on your PC) the TkInter window up and down and I have checked like 200 answers and they are all for Python 2.0 so please do any of you guys have any help on this?

Upvotes: 0

Views: 88

Answers (1)

Bryan Oakley
Bryan Oakley

Reputation: 386220

You can't do what you want. You can simulate it partly by setting up bindings that can grow and shrink the size of fonts as a window is resized, and you can double or halve the size of images. You can also have widgets like the canvas, text widget, and frames grown and shrink to fit. However, widgets in general won't scale. For example, checkboxes, radiobuttons, scrollbars, sliders will all stay the same size.

Upvotes: 1

Related Questions