Jump to content
David Marcus

Width of GroupBox on inherited form changes to default in Delphi 11

Recommended Posts

I'm trying to upgrade from Delphi 10.4 to Delphi 11, but Delphi 11 is
messing up my forms. Following is one example. I'm not sure if this is the
only problem I'm seeing, but it is the first one I boiled down to a simple
example. Open FooBase in the IDE, then open Foo. (Files attached.) In
Delphi 10.4, the width of GroupBox is 332, but in Delphi 11, it is 64. I
have Patch 1 installed. Is this a known problem?

 

David

FooFiles.zip

Share this post


Link to post

You can try to find out here:

 

https://quality.embarcadero.com/browse/RSP-10633?jql=text%20~%20%22tgroupbox%22

 

Make sure to log your issue if you don't find a matching one.

Share this post


Link to post

It is a known issue set Scaled property to true (on the form).  When scaled is false Delphi in some cases ignores the width/height properties. Welcome to the way how Delphi is managing high DPI.

 

Btw. you should report this as far as I known there is no report with Scaled false and TGroupbox.

Edited by Lajos Juhász

Share this post


Link to post

I reported it: RSP-36207. I think setting Scaled to true will break all my forms. At some point, I will change them to work with Scaled equal to True, but I wasn't planning to do it today.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×