Bug? Can't resize B4XImageView in B4XPage_Appear - picture doesn't re-center

MrKim

Well-Known Member
Licensed User
Longtime User
the following code:
B4X:
        TravPic.mBase.Left = JobInfoPnl2.Width + JobInfoPnl2.Left + 2
        TravPic.mBase.Height = 100%x - (TravPic.mBase.Left + 5dip)
        TravPic.mBase.Width = TravPic.mBase.Height
in B4XPage_Appear leaves the picture offset.
rearranging the order of the 3 lines above (and swapping height and width) puts the picture in a different place.
Tested in design view in B4i only.
 

MrKim

Well-Known Member
Licensed User
Longtime User
I was unable to duplicate this in a small project and it is not critical at the moment so moved on...
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…