mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-31 10:12:32 +02:00
lcl: TControl: highDPI: fix DoAutoAdjustLayout for right- and bottom-aligned controls.
git-svn-id: trunk@54193 -
This commit is contained in:
parent
b5e203e374
commit
6d31586364
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user