From 2a57b0e1a7875f2b56c759b1987dcfce079f0b7b Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Mon, 31 Aug 2009 19:59:00 +0000 Subject: [PATCH] Reserve slightly more needed space for a checkbox so its label "ON UPDATE CURRENT TIMESTAMP" is fully visible. Fixes issue #1334. --- source/grideditlinks.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/grideditlinks.pas b/source/grideditlinks.pas index aed888d6..db21339f 100644 --- a/source/grideditlinks.pas +++ b/source/grideditlinks.pas @@ -1045,7 +1045,7 @@ begin FRadioAutoInc.Anchors := [akLeft, akBottom, akRight]; FBtnOk.Anchors := [akBottom, akRight]; FBtnCancel.Anchors := FBtnOk.Anchors; - FPanel.Width := GetParentForm(FPanel).Canvas.TextWidth(FCheckCurTS.Caption) + 2*FCheckCurTS.Left + 16; + FPanel.Width := GetParentForm(FPanel).Canvas.TextWidth(FCheckCurTS.Caption) + 2*FCheckCurTS.Left + 24; end;