From b1b81bd803710ccd700085aed1c0f80544b2ec48 Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Mon, 28 Jun 2010 19:49:41 +0000 Subject: [PATCH] Increase auto calculated column width slightly, so the flashing "..." button has room when editing cells, without cutting text. Fixes issue #2051. --- source/main.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/main.pas b/source/main.pas index aa7288db..e8beeaf3 100644 --- a/source/main.pas +++ b/source/main.pas @@ -7402,7 +7402,7 @@ begin Node := Tree.GetNextVisible(Node); end; // text margins and minimal extra space - ColTextWidth := ColTextWidth + Tree.TextMargin*2 + 5; + ColTextWidth := ColTextWidth + Tree.TextMargin*2 + 20; ColTextWidth := Min(ColTextWidth, prefMaxColWidth); Col.Width := ColTextWidth; end;