From 1fad28e4f3ecc6d026386eb886800922e115c318 Mon Sep 17 00:00:00 2001 From: ketmar Date: Fri, 3 Dec 2021 16:15:52 +0000 Subject: [PATCH] egra: checkbox fixes FossilOrigin-Name: 3324b923fb80e161336ec2ff283bff4e2caeabffd0e2c15968bdcddfeaeaaca6 --- egra/gui/widgets/buttons.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/egra/gui/widgets/buttons.d b/egra/gui/widgets/buttons.d index 51072ab..840044a 100644 --- a/egra/gui/widgets/buttons.d +++ b/egra/gui/widgets/buttons.d @@ -231,7 +231,7 @@ public: tx += gxTextWidthUtf("]")+8; } else { - drawCheckRect(tx, grect.y0+(grect.height-16)/2, 14+3-2, 16, fclr); + drawCheckRect(tx, grect.y0+(grect.height-16)/2+1, 14+3-2, 15, fclr); if (mChecked) drawCheckMark(tx-1, grect.y0+(grect.height-8)/2, xclr); tx += 14+8-2; } -- 2.11.4.GIT