ttkbootstrap
ttkbootstrap copied to clipboard
The date selection box may be outside the screen
Describe the bug The date selection box may be outside the screen.
To Reproduce 1.Place a date selection box 2.Drag the window to the lower right corner of the screen 3.Click the date select button 4.The date selection box is outside the screen.
Expected behavior The date selection box doesn't be outside the screen.
Screenshots
Desktop (please complete the following information):
- ttkbootstrap Version 1.7.1.2
- OS: Windows 10 version 19043.1526
Additional context Nope.
@NewbieXvwu, this one will have to wait for now until I figure out a better way to handle multiple screens with different resolutions. I get some very weird behavior in this case, and I'd rather risk the calendar going offscreen in this scenario than having it pop up in an unexpected location when the resolutions are different when someone moves the window to another screen.
I'll keep you posted.