-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix #277472 Tour mbox placement remember frame
Previously was problem with TourHandler failing to account for the thickness of its message box frame. Unfortuantely there doesn't seem to be an easy way to adjust the position according to the frame thickness, because the frame geometry isn't known until *after* the message box exec() runs...but since exec() halts execution, there isn't an easy way to adjust after it runs. My solution is to remember the previous thickness values of the frame after each message box completes exec(), and then to use those stored values to calculate adjustments for the next time TourHandler needs to adjust placement of its message box.
- Loading branch information
Eric Fontaine
committed
Jul 2, 2019
1 parent
e8a16ca
commit 2f545c1
Showing
1 changed file
with
15 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters