Flavio SOuza Member Licensed User Longtime User Mar 7, 2019 #1 How can I add an image without distorting the image in heigth ? my code: imgLogo.Top = 65dip imgLogo.SetLeftAndRight(10%x,90%x) imgLogo.Height = auto?
How can I add an image without distorting the image in heigth ? my code: imgLogo.Top = 65dip imgLogo.SetLeftAndRight(10%x,90%x) imgLogo.Height = auto?
Erel B4X founder Staff member Licensed User Longtime User Mar 7, 2019 #2 Use anchors instead of designer script. See this thread: https://www.b4x.com/android/forum/threads/b4x-xui-fill-and-fit-images-without-distortion.86627/ Upvote 0
Use anchors instead of designer script. See this thread: https://www.b4x.com/android/forum/threads/b4x-xui-fill-and-fit-images-without-distortion.86627/