OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: Fred Tomke on December 14, 2020, 06:46:06 AM

Title: Scaling of custom file select dialog at 125%
Post by: Fred Tomke on December 14, 2020, 06:46:06 AM
Hello,

I don't know whether it is Studio or Runtime related - but maybe both.
I have a problem with a custom file selection dialog which works fine on workstations with fontscaling of 100%.
But when users change this to 125% the form design will be "destroyed". Unfortunately, for the custom fileselection control there is no option to set ScaleByPixel or ScaleByScreen to handle this.
How do others solve this?
Did a forum search, but haven't found anything.

With regards, Fred
Title: Re: Scaling of custom file select dialog at 125%
Post by: owenwengerd on December 14, 2020, 02:07:25 PM
From your screen shot it looks like there is an incorrect scaling applied. I guess it is a bug.
Title: Re: Scaling of custom file select dialog at 125%
Post by: Fred Tomke on December 14, 2020, 02:55:26 PM
Hello. Owen, nice to read from you.
I created a small example. Looks fine with 100%, but not with 125%.
Regards, Fred
Title: Re: Scaling of custom file select dialog at 125%
Post by: Fred Tomke on December 14, 2020, 02:58:13 PM
forgotten: checked with ODCL 9.1.1.1 in AutoCAD 2021.1 x64 in Windows 10 x64 1909
Title: Re: Scaling of custom file select dialog at 125%
Post by: owenwengerd on December 15, 2020, 09:39:13 AM
I confirm the scaling bug. It will be fixed in the next update, coming soon.
Title: Re: Scaling of custom file select dialog at 125%
Post by: Fred Tomke on December 15, 2020, 06:19:33 PM
Thank you, Owen, works fine now.
Title: Re: Scaling of custom file select dialog at 125%
Post by: DW on December 23, 2020, 11:16:49 PM
Thanks Owen,

This was something that had bugged me also, appreciate the fix.

Have a great Christmas and 2021!

David