lcl: TControl: highDPI: don't do AutoSize in DoAutoAdjustLayout - it removes correctly calculated size for autosized controls.

git-svn-id: trunk@54194 -
This commit is contained in:
ondrej 2017-02-19 14:16:08 +00:00
parent 6d31586364
commit b4b0cf8831

View File

@ -3010,13 +3010,6 @@ begin
end;
end;
// Give a shake at the autosize to recalculate font sizes for example
if (not AAWidth or not AAHeight) and AutoSize then
begin
if AutoSize then AdjustSize();
NewWidth := Width;
NewHeight := Height;
end;
if AAWidth then
NewWidth := Round(Width * AXProportion);
if AAHeight then