Minimize column width in data and query grids - add 15px less extra space. See http://www.heidisql.com/forum.php?t=7363

This commit is contained in:
Ansgar Becker
2011-01-01 17:48:27 +00:00
parent 1df812d53f
commit a8f5310e3c

View File

@ -7572,7 +7572,7 @@ begin
Node := Tree.GetNextVisible(Node);
end;
// text margins and minimal extra space
ColTextWidth := ColTextWidth + Tree.TextMargin*2 + 20;
ColTextWidth := ColTextWidth + Tree.TextMargin*2 + 5;
ColTextWidth := Min(ColTextWidth, prefMaxColWidth);
Col.Width := ColTextWidth;
end;