[Lazarus] Labels and Font size

Jürgen Hestermann juergen.hestermann at gmx.de
Mon Mar 18 17:39:24 CET 2013


Am 2013-03-15 20:05, schrieb Graeme Geldenhuys:
> On 2013-03-15 17:43, Jürgen Hestermann wrote:
>> I often have the problem that label text looks fine on one system but when
>> starting the same program on another machine the font is suddenly huge and text
> This sounds like a classic DPI issue. One system having 96 dpi, and the
> other maybe 74 or 120 etc.
>
> What DPI setting did you design your forms in?
>
>

Sorry for the late answer, I was away from any computer for 2 days.

I am not sure I understand what you mean.
What I just found is that this is influenced by the Windows font size settings.
It is "big" on my machine and "normal" on the machine at work.
If I change it to normal on my machine everything looks okay.
Do you mean this too?
If that's the reason then how is it possible to create graphical UI that look correct in all cases?
I don't know which Windows setting someone will have if he uses my program.
So the "write once, compile anywhere" is not even valid for one single OS. ;-)






More information about the Lazarus mailing list