Increase auto calculated column width slightly, so the flashing "..." button has room when editing cells, without cutting text. Fixes issue #2051.

This commit is contained in:
Ansgar Becker
2010-06-28 19:49:41 +00:00
parent 74327bbe9e
commit b1b81bd803

View File

@ -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;