N niqpw Member Licensed User Longtime User May 25, 2011 #1 Is there a straightforward way of displaying an image in an ImageView so it has rounded corners similar to a button?
Is there a straightforward way of displaying an image in an ImageView so it has rounded corners similar to a button?
Erel B4X founder Staff member Licensed User Longtime User May 26, 2011 #2 Try to put the ImageView on a Panel with round corners (both with the same size). Upvote 0
N niqpw Member Licensed User Longtime User May 26, 2011 #3 Thanks Erel, but I tried it and the image still has square corners, has anyone tried this and made it work? Upvote 0
Thanks Erel, but I tried it and the image still has square corners, has anyone tried this and made it work?
Erel B4X founder Staff member Licensed User Longtime User May 26, 2011 #4 It makes sense. The actual containing area of the panel is not limited by the rounded corners. You will need to apply the round corners effect to the images themselves. Upvote 0
It makes sense. The actual containing area of the panel is not limited by the rounded corners. You will need to apply the round corners effect to the images themselves.
N niqpw Member Licensed User Longtime User May 26, 2011 #5 Yeah, that's what I thought to start with, just wanted to make sure there wasn't a quick solution. Thanks Upvote 0
Yeah, that's what I thought to start with, just wanted to make sure there wasn't a quick solution. Thanks