B4J Question Prevent ImageView Stretching?

LWGShane

Well-Known Member
Licensed User
Longtime User
How do I prevent the ImageView from filling itself with an opened image? ImageView's created via code don't do this.

Any ideas?
 

LWGShane

Well-Known Member
Licensed User
Longtime User
@Erel: I figured out the problem: I'm so used to the image being centered that its default location threw me off. Is it possible to center the image?
 
Upvote 0

LWGShane

Well-Known Member
Licensed User
Longtime User
@Erel:

1) Doesn't work. The ImageView isn't centered in the pane, even though the pane's gravity is set to "Center".
2) You can't add images via code to a pane.
 
Upvote 0
Top