Issue #629: do not limit the second column in the query helpers box to a width of 100 pixels

This commit is contained in:
Ansgar Becker
2020-07-13 15:03:33 +02:00
parent 04e475ad68
commit 9abdbb5993

View File

@ -12681,7 +12681,7 @@ begin
if Tree.Header.Columns.Count >= 2 then begin
// See https://github.com/HeidiSQL/HeidiSQL/issues/466
// Column count may be 0 in an early stage of creating a new query tab
Tree.Header.Columns[1].Width := Min(Tree.Width div 3, 100);
Tree.Header.Columns[1].Width := Max(Tree.Width div 3, 100);
end;
end;