OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: ScottBolton on May 07, 2023, 10:18:41 AM

Title: Windows Scaling
Post by: ScottBolton on May 07, 2023, 10:18:41 AM
I'm learning to live with changing text height when the Windows Display Scaling changes, but the shrinking images that are stored in the Picture Folder are driving me mad. I haven't found a solution here in the Forum (please direct me to one if there is) so I am resigning myself to creating several sizes of the same image and, depending on the Display Scaling, displaying the appropriate one. However... how can I retrieve the scaling?
Title: Re: Windows Scaling
Post by: Fred Tomke on May 07, 2023, 10:23:27 AM
Hi, do you have a small sample for testing?
With regards, Fred
Title: Re: Windows Scaling
Post by: ScottBolton on May 07, 2023, 11:41:20 AM
Hi, Fred.
Here's a very simple frame. At 100% on my laptop, the header image fills the Picture tile; at 125% on my attached monitor the images is not scaled and the background of the Picture tile is showing.
The header image is stored in the Project/Picture Folder, not as a local file.
S
Title: Re: Windows Scaling
Post by: Fred Tomke on May 07, 2023, 12:04:49 PM
Which OpenDCL release do you use?
See https://opendcl.com/forum/index.php?topic=2586.msg12810#msg12810
Regards, Fred
Title: Re: Windows Scaling
Post by: Fred Tomke on May 07, 2023, 12:07:38 PM
Hi, does AutoSize-property do the trick?
Regards, Fred
Title: Re: Windows Scaling
Post by: ScottBolton on May 07, 2023, 12:37:54 PM
The latest: 9.2.0.5

It doesn't. I believe AutoSize is used to automatically resize an image when the whole form window is resized / reshaped by the user dragging an edge / corner point.
Title: Re: Windows Scaling
Post by: ScottBolton on May 10, 2023, 10:44:24 AM
Anybody else able to help with this?
Title: Re: Windows Scaling
Post by: Fred Tomke on May 30, 2023, 09:26:43 PM
Sorry, I still have no 4K screen for further investigation.