Import Tk 8.6.8

This commit is contained in:
Cheryl Sabella
2018-02-22 14:31:15 -05:00
parent b1c28856bb
commit 8e57feeeb9
193 changed files with 6172 additions and 4033 deletions

View File

@@ -364,7 +364,8 @@ TkpComputeButtonGeometry(
height = butPtr->height > 0 ? butPtr->height : height;
} else { /* Text only */
width = txtWidth + butPtr->indicatorSpace;
/*Add four pixels of padding to width for text-only buttons to improve appearance.*/
width = txtWidth + butPtr->indicatorSpace + 4;
height = txtHeight;
if (butPtr->width > 0) {
width = butPtr->width * charWidth;