The display problem of ttkbootstrap #341
Unanswered
jiangwu007
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Possibly this is related to enabling high DPI awareness on Windows. You'll notice the tkinter windows are a bit blurry compared to the ttkbootstrap windows because of the difference in how high dpi is enabled. However, this also affects how the window is scaled. I recommend not setting a fixed window size and instead relying on the geometry manager to update the size for you. You could also try the Finally, you may be able to get the result you want by disabling high DPI support: root = tk.Window(hdpi=False, size=(300, 150)) # you'll need to update size based on non-hdpi settings |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I set the window to 300 wide and 150 high, it will display normally. But if I change to another computer, the window display will be abnormal. Whether ttkbootstrap can automatically switch to normal display. I use Windows computer
Tkinter does not have this problem. Below, I set the width to 220 and the height to 110.
Can ttkbootstrap be designed like tkiner and automatically adjusted to the appropriate size of the form?
Beta Was this translation helpful? Give feedback.
All reactions