mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
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:
@ -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;
|
||||
|
Reference in New Issue
Block a user