Tagged: scaling dpi
- This topic has 9 replies, 3 voices, and was last updated 4 years ago by Support.
-
AuthorPosts
-
September 2, 2020 at 12:59 pm #69398ralfiiiParticipant
I need to make my applications scale properly when a customer uses “big fonts” on his PC.
I am now having troubles with an app that maps in content of forms (these forms used like like frames) to create appearance like having tab sheets.
I will try to attach a demo app demonstrating the problem.
ON a system with “normal” fonts (100%) all tab sheets show the same content.
On a system with 125% (bigger fonts) scaling, the first tab (shows content that was placed there in the IDE) shows the content enlarged as expected.
On the 2nd tab (mapping in the panel from a hidden form) the labels are scaled but the re-placing of the components didn’t work – it is a bit smaller than expected.
On the 3rd tab (mapping in a frame) the fonts again are OK but the content is even smaller – same positions as on the un-scaled machine.What’s wrong here?
Thanks!
RalfAttachments:
You must be logged in to view attached files.September 2, 2020 at 9:18 pm #69408SupportKeymasterHello, Ralf!
I can confirm it under Delphi 7, but there is no problem under RAD Studio 10.2 Tokyo
Which Delphi version do you use?September 2, 2020 at 9:47 pm #69409Stephane SenecalParticipantFrom the icon of the form, it looks like Delphi 2007. I might be wrong.
Stephane Senecal
CIS Group
Delphi programmer since 2001September 3, 2020 at 6:21 am #69412ralfiiiParticipantIt’s Delphi2010
September 3, 2020 at 1:06 pm #69419SupportKeymasterThe issue is complex, many dependencies from VCL scaling exists and some time is required for workaround searching.
Can’t promise a fix in the nearest release, unfortunately.September 3, 2020 at 1:27 pm #69420ralfiiiParticipantOh shit. That’s REALLY bad news!
At the moment it will fail EVERY time a frame is used, right?
When you want to creating multi-sheet dialogs (to avoid having to pack everything on one single page) using frames is common practice I think.
I suppose we will not not be the only people who will stumble over that.September 4, 2020 at 12:31 pm #69422Stephane SenecalParticipantOut of curiosity, are the frames placed on the form at design-time or they are created at run-time?
Stephane Senecal
CIS Group
Delphi programmer since 2001September 4, 2020 at 12:55 pm #69423ralfiiiParticipantat runtime
October 29, 2020 at 10:34 am #69749ralfiiiParticipantSorry, but I need to be annoying here: Is there any news on that issue?
Does this problem not occur with newer Delphi versions?
If it’s OK with Delphi 10.4 then we might consider taking that as additional reason to upgrade our Delphi…Thanks,
RalfOctober 30, 2020 at 12:34 pm #69750SupportKeymasterHello, Ralf!
I have tried your projects with Delphi Tokyo.
The problem doesn’t exist there.
But, will be better to test a full application by yourself before upgrading, I think. -
AuthorPosts
- You must be logged in to reply to this topic.