Skip to content

Commit d159363

Browse files
committed
spacing was lacking owhen calculating the size of the check button.
1 parent ce2aa13 commit d159363

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generic/tileGtk_CheckButton.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ static void CheckButtonIndicatorElementGeometry(
4040
"indicator-spacing", &spacing,
4141
"focus-line-width", &focus_width,
4242
"focus-padding", &focus_pad, NULL);
43-
*widthPtr = *heightPtr = size;
43+
*widthPtr = *heightPtr = size+spacing;
4444
size = focus_pad + focus_width;
4545
*paddingPtr = Ttk_MakePadding(spacing+size, size, spacing+size, size);
4646
}

0 commit comments

Comments
 (0)