Ah yes, good old large fonts, which breaks lots of programs that use hard-coded numbers. I'm a large fonts user, and I've seen lots of broken programs.

It's not only large font fans that have this issue, a lot of laptops with large screen sizes use a different DPI setting as a default.

Has anyone else dealt with this before? Using -size => 12 and a
->AddLabel with a fixed width is fine if everyone uses 96DPI but if

Is there any better solution than just making the labels excessively
tall and wide to make sure everything from normal to large fits?

Is it not possible to size them dynamically? I'm guessing that there must be a way to retrieve the DPI settings from Windows, but I haven't attempted to understand this problem myself from a programming point of view, as yet. I have reperted the issue to a number of software companies that don't handle it very well, though, with a variety of responses, none of which were particularly useful. But one of them did go down the "override with tiny fonts" mode, which was disappointing.

I've looked into this in the past - ok - it was only a few minutes:) - but the approach is to use a form of dynamically positioning. There are standards out there with some standard formulas that can be used - doing a google should bring them up. From memory, delphi was the only dev toolset that seemed to be able to handle different DPI settings "automatically".

If you find that you need to use functions that are missing within Win32-GUI, just post a request on the sourceforge site to get them added.

Cheers,

jez.



Reply via email to