TelKel81 Active Member Licensed User Apr 7, 2022 #1 B4J/B4A have same code and designer layout. In B4A, is there a way to obtain the same result as in B4J, without having to "set again" the bitmap when the view's width/height is changed ?
B4J/B4A have same code and designer layout. In B4A, is there a way to obtain the same result as in B4J, without having to "set again" the bitmap when the view's width/height is changed ?
Sagenut Expert Licensed User Longtime User Apr 7, 2022 #2 Try calling B4X: B4XImageView.Update After the resize. Upvote 0
TelKel81 Active Member Licensed User Apr 7, 2022 #3 Calling B4XImageView.Update had no apparent effect. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Apr 8, 2022 #4 Calling Update should resize the image. Upload a small project with the code if it doesn't work for you. Upvote 0
Calling Update should resize the image. Upload a small project with the code if it doesn't work for you.
TelKel81 Active Member Licensed User Apr 8, 2022 #5 My mistake. I had multiple layers of views and I was not resizing the one that contained the image. Case closed ! Upvote 0
My mistake. I had multiple layers of views and I was not resizing the one that contained the image. Case closed !