You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AutoSize - The PictureBox is sized equal to the size of the image that it contains.
CenterImage - The image is displayed in the center if the PictureBox is larger than the image. If the image is larger than the PictureBox, the picture is placed in the center of the PictureBox and the outside edges are clipped.
Normal - The image is placed in the upper-left corner of the PictureBox. The image is clipped if it is larger than the PictureBox it is contained in.
StretchImage - The image within the PictureBox is stretched or shrunk to fit the size of the PictureBox.
Zoom - The size of the image is increased or decreased maintaining the size ratio.
use a SizeMode of CenterImage and the Form Constructor goes to the trouble of creating a 48 x 48 version of the icon.
The others don't and so strange things happen with larger images. As I said in Issue #212, I think this may be part of issue #123's problems. I have a user with this problem (his buttons are not visible on the Form at all). I'll see if I can fix him.
The text was updated successfully, but these errors were encountered:
I believe that
Use AutoSize where (I think) Zoom is intended
See: https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.pictureboxsizemode?view=net-5.0
says
I note that
use a SizeMode of CenterImage and the Form Constructor goes to the trouble of creating a 48 x 48 version of the icon.
The others don't and so strange things happen with larger images. As I said in Issue #212, I think this may be part of issue #123's problems. I have a user with this problem (his buttons are not visible on the Form at all). I'll see if I can fix him.
The text was updated successfully, but these errors were encountered: