Author Topic: Windows Scaling  (Read 1244 times)

ScottBolton

  • Member
  • *
  • Posts: 41
Windows Scaling
« 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?

Fred Tomke

  • OpenDCL Technician
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2115
Re: Windows Scaling
« Reply #1 on: May 07, 2023, 10:23:27 AM »
Hi, do you have a small sample for testing?
With regards, Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

ScottBolton

  • Member
  • *
  • Posts: 41
Re: Windows Scaling
« Reply #2 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

Fred Tomke

  • OpenDCL Technician
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2115
Re: Windows Scaling
« Reply #3 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
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

Fred Tomke

  • OpenDCL Technician
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2115
Re: Windows Scaling
« Reply #4 on: May 07, 2023, 12:07:38 PM »
Hi, does AutoSize-property do the trick?
Regards, Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

ScottBolton

  • Member
  • *
  • Posts: 41
Re: Windows Scaling
« Reply #5 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.

ScottBolton

  • Member
  • *
  • Posts: 41
Re: Windows Scaling
« Reply #6 on: May 10, 2023, 10:44:24 AM »
Anybody else able to help with this?

Fred Tomke

  • OpenDCL Technician
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2115
Re: Windows Scaling
« Reply #7 on: May 30, 2023, 09:26:43 PM »
Sorry, I still have no 4K screen for further investigation.
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]