mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Now that the table tools dialog also has a second tree column "size", it should get autofitted the same way as mainform.dbtree. Fixes issue #1500.
This commit is contained in:
@ -6090,7 +6090,7 @@ begin
|
||||
end;
|
||||
// Auto resize "Size" column in dbtree when needed
|
||||
// See also OnResize
|
||||
if (VT = DBtree) and (coVisible in VT.Header.Columns[1].Options) then
|
||||
if coVisible in VT.Header.Columns[1].Options then
|
||||
VT.Header.AutoFitColumns(False, smaUseColumnOption, 1, 1);
|
||||
end;
|
||||
else Exit;
|
||||
|
Reference in New Issue
Block a user