Skip to content Skip to sidebar Skip to footer

Tkinter, Canvas, Create_text And Zooming

Is it normal that Tkinter's Canvas' create_text 's font size doesn't change when I change the Canvas' scale with canvas.scale ? I thought that, as it is a high level GUI management

Solution 1:

It's normal, even if not entirely what you want. The scale method just changes the coordinate lists, but text items only have one of those so they just get (optionally) translated.

This also applies to image and bitmap items. And features of other items like the line width; they're not scaled.

Post a Comment for "Tkinter, Canvas, Create_text And Zooming"