mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-06 10:26:40 +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
|
if AAHeight then
|
||||||
NewHeight := Round(Height * AYProportion);
|
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
|
if AAWidth then
|
||||||
begin
|
begin
|
||||||
if akRight in Anchors then
|
if akRight in Anchors then
|
||||||
|
Loading…
Reference in New Issue
Block a user