mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-18 05:49:30 +02:00
CustomDrawn: Fix font height issue. Patch by lagprogrammin (https://forum.lazarus.freepascal.org/index.php/topic,62849.msg475824.html#msg475824)
This commit is contained in:
parent
454f272551
commit
90ea7941f6
@ -528,6 +528,7 @@ begin
|
||||
);*)
|
||||
|
||||
lFont.Size := Abs(LogFont.lfHeight);
|
||||
lFont.ftFont.SizeInPoints := lFont.Size;
|
||||
|
||||
(* // Some values at available on Qt documentation at a table
|
||||
// Others are guesses. The best would be to test different values for those
|
||||
|
Loading…
Reference in New Issue
Block a user