Tk Source Code

View Ticket
Login
Ticket UUID: 57d3d3f0aefdacc3c2bb9baf8b04cc6aca853140
Title: Cosmetic bugs in bgerror
Type: Bug Version: Tk 8.7
Submitter: kjnash Created on: 2023-08-23 14:00:34
Subsystem: 71. Error Handling Assigned To: nobody
Priority: 5 Medium Severity: Cosmetic
Status: Closed Last Modified: 2023-10-01 08:15:53
Resolution: Fixed Closed By: fvogel
    Closed on: 2023-10-01 08:15:53
Description:
1. Comments state that the text in $dlg.msg has up to 4 lines.  In fact it usually has up to 5, and 6 if the 6th line is very long.  Standardise on 5 lines maximum.
2. The message may be given a trailing newline, which always wastes space and also gives a one-line message a vertical offset compared to the icon. Remove the trailing newline.
3. Do not use -setgrid true for $dlg.top.info.text.  The mapped window is sometimes made too short by one grid unit, covering part of the icon.

Fixes applied in branch scaling-fixes.
User Comments: fvogel added on 2023-10-01 08:15:53:

This was fixed by [1e1840e7], which was merged in trunk by [003f186c].