mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 09:39:09 +02:00
LCL: TFont: call Changed after PixelsPerInch change
git-svn-id: trunk@54217 -
This commit is contained in:
parent
4a89ed8ec1
commit
4de009ab5e
@ -861,6 +861,7 @@ begin
|
|||||||
// the Height value is not correct anymore -> force recalculate it
|
// the Height value is not correct anymore -> force recalculate it
|
||||||
if Height<>0 then
|
if Height<>0 then
|
||||||
Height := MulDiv(Height, APixelsPerInch, OldPPI);
|
Height := MulDiv(Height, APixelsPerInch, OldPPI);
|
||||||
|
Changed;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{------------------------------------------------------------------------------
|
{------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user