Scaling of containers doesn’t work

Tagged: 

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #69398
    ralfiii
    Participant

    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!
    Ralf

    Attachments:
    You must be logged in to view attached files.
    #69408
    Support
    Keymaster

    Hello, 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?

    #69409
    Stephane Senecal
    Participant

    From the icon of the form, it looks like Delphi 2007. I might be wrong.

    Stephane Senecal
    CIS Group
    Delphi programmer since 2001

    #69412
    ralfiii
    Participant

    It’s Delphi2010

    #69419
    Support
    Keymaster

    The 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.

    #69420
    ralfiii
    Participant

    Oh 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.

    #69422
    Stephane Senecal
    Participant

    Out 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 2001

    #69423
    ralfiii
    Participant

    at runtime

    #69749
    ralfiii
    Participant

    Sorry, 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,
    Ralf

    #69750
    Support
    Keymaster

    Hello, 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.

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.