PictureBox control shrinks image
OpenDCL — modern dialog UI for AutoLISP.
Brought to you by:
owenwengerd
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
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%).
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.
Thank you Owen. Done.