Tk Source Code

View Ticket
Login
Ticket UUID: 220133
Title: WinNT: buttons have too much padding
Type: Bug Version: obsolete: 8.0p2
Submitter: welch Created on: 2000-10-31 22:36:40
Subsystem: 03. [*button] and [label] Assigned To: nobody
Priority: 1 Zero Severity:
Status: Closed Last Modified: 2001-04-26 03:43:12
Resolution: Invalid Closed By: dgp
    Closed on: 2001-04-25 20:43:12
Description:
OriginalBugID: 1394 Bug
Version: 8.0p2
SubmitDate: '1999-03-02'
LastModified: '1999-08-07'
Severity: LOW
Status: Closed
Submitter: pat
ChangedBy: hobbs
OS: Windows NT
Machine: X86
ClosedDate: '1999-08-07'


Name:
John Wiersba

ReproducibleScript:
button .b -pady 0 -text high
pack .b

ObservedBehavior:
on WinNT (version 8.0 according to $tcl_patchLevel), when I set -pady to 0, the button still has a lot of padding above/below the text.

DesiredBehavior:
no padding at all when -pady is set to 0



The user needs to make use of -ipadx/-ipday as well. 
-- 08/07/1999 hobbs