Tk Source Code

View Ticket
Login
Ticket UUID: 701812
Title: Message box buttons too wide
Type: Bug Version: obsolete: 8.4.2
Submitter: dkf Created on: 2003-03-11 20:58:46
Subsystem: 38. [tk_messageBox] Assigned To: dkf
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2003-03-15 04:43:03
Resolution: Fixed Closed By: dkf
    Closed on: 2003-03-14 21:43:03
Description:
It's been reported to me that buttons in the tk_messageBox on Unix/X are too wide with 8.4.2 when the 
text inside the message-box is large.  I've investigated, and I find that this is due to an unneeded -weight 
1 in the line that configures the grid columns containing the buttons.

Note 1: Check whether (when the -weight 1 is removed) the -padx of the buttons needs to be boosted.  
This seems to be the case on Windows, but button size handling varies slightly across platforms.

Note 2: Check whether this problem is there in other standard dialogs.

Note 3: Make sure this change goes into the 8.4 branch too!
User Comments: dkf added on 2003-03-15 04:43:03:
Logged In: YES 
user_id=79902

Now applied to both branches.

dkf added on 2003-03-12 23:14:21:
Logged In: YES 
user_id=79902

Fixed in the head (extra button -padx 3m looked good to me,
no work really seemed necessary in the other dialogs). 
Remember to backport...