[Gambas-user] Having a bit of trouble with ImageView ZoomfFit
cedron at exede.net
Wed May 1 16:17:31 CEST 2019
Bug or proper usage conditions?
Okay, I went back and reproduced the problem as demonstrated in the code below, with a difference.
The desired behavior only occurs if the Me.Show line is in effect. The Wait has no influence on the final outcome.
Zoomfit retains the image's aspect ratio and fits to the larger dimension.
' Gambas class file
Public Sub Form_Open()
Dim I As Image
I = Image.Load("~/Pictures/Wallpaper1920/DogOnDock.JPG")
ImageView1.Image = I
More information about the User