Menu ▾ ▴

#796 PictureBox control shrinks image

v 8.0
closed-rejected
None
5
2020-12-15
2018-03-20
Dan Wiseman
No

Hi Owen,
v9.0 shrinks the image loaded into a PictureBox control.
You can observe the behaviour in OpenDCL Samples. ("Methods" form-> "PictureBox tab). The attached picture is 257x313 pixels, the exact same size as the relevant PictureControl, so can be used to clearly demonstrate the shrinkage issue.
Many thanks and best regards
Dan

1 Attachments

Discussion

  • Dan Wiseman

    Dan Wiseman - 2018-03-26

    Just noticed the image display issue (as well as some strangeness with graphic buttons) presents itself when your Windows' Display Settings - "Size of text, apps and other items" isn't set to 100% (even if the chosen resolution is a "recommended" one eg 150%).

     
  • Owen Wengerd

    Owen Wengerd - 2018-03-30

    OpenDCL 9 introduced automatic scaling of controls, so that controls adapt to the display scale. However, images are not automatically scaled (it can result in poor quality images), so this size mismatch can happen "by design".

    A discussion about how to best address this problem would be better suited for the discussion forum. I recommend to start a new topic there, and ask for some input from other users.

     
  • Dan Wiseman

    Dan Wiseman - 2018-04-02

    Thank you Owen. Done.

     
  • Owen Wengerd

    Owen Wengerd - 2020-12-15
    • status: open --> closed-rejected