lcl: TControl: highDPI: fix DoAutoAdjustLayout for right- and bottom-aligned controls.

git-svn-id: trunk@54193 -
This commit is contained in:
ondrej 2017-02-19 13:57:57 +00:00
parent b5e203e374
commit 6d31586364

View File

@ -3022,11 +3022,6 @@ begin
if AAHeight then
NewHeight := Round(Height * AYProportion);
if Anchors*[akLeft, akRight] = [akRight] then
NewLeft := NewLeft+Width-NewWidth;
if Anchors*[akTop, akBottom] = [akBottom] then
NewTop := NewTop+Height-NewHeight;
if AAWidth then
begin
if akRight in Anchors then