Skip to content

resolution ratio #336

Answered by israel-dryer
jiangwu007 asked this question in Q&A
Aug 21, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

This is possible, but it will take some changes to the architecture of the library to achieve. This is one the roadmap for version 2.0.

There is a scaling function in tcl/tk that can be used. However, the images that I'm using for the styles are created with the scaling at the time the styles is generated, so a change to scaling would not affect this image-based styles currently.

However, this does sounds like a reasonable thing to do, so I will look at how this can be implemented in version 2.0 of ttkbootstrap which I'm working on now.

To document this for my own notes later... I need to create and generate a <> event when the resolution changes. Add an event handler (on_resolution_chang…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jiangwu007
Comment options

Answer selected by jiangwu007
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants