Hi all,
I'm testing (debug mode) a B4X code on B4A and B4i. Within B4A the panel (see code belove) has the correct height and all the panel ui views are diplayed correctly.
Running the same code with the same layout (copy and paste from B4A) within B4i I got a trucated panel height.
Within B4A panel height is 3300 and within B4i panel height is 662, therefore completely different values (see code and logs belove).
Why this ? Am i doing something wrong or is it the ios subsystem that has a different system for positioning ui objects ?
--> LOGS
B4A
----
btnNavigate.Top = 3108
pnl.Height = 3300
B4i
---
btnNavigate.Top = 592
pnl.Height = 662
I'm testing (debug mode) a B4X code on B4A and B4i. Within B4A the panel (see code belove) has the correct height and all the panel ui views are diplayed correctly.
Running the same code with the same layout (copy and paste from B4A) within B4i I got a trucated panel height.
Within B4A panel height is 3300 and within B4i panel height is 662, therefore completely different values (see code and logs belove).
Why this ? Am i doing something wrong or is it the ios subsystem that has a different system for positioning ui objects ?
B4X:
Private Sub CreateItem () As B4XView
Private pnl As B4XView = xui.CreatePanel("")
pnl.SetLayoutAnimated (0,0,0,100%x, 100%y)
pnl.LoadLayout("CardFull_itemlayout")
pnl.Height = btnNavigate.Top + 70dip
Log ("btnNavigate.Top = " & btnNavigate.Top)
Log ("pnl.Height = " & pnl.Height)
'.....
End Sub
--> LOGS
B4A
----
btnNavigate.Top = 3108
pnl.Height = 3300
B4i
---
btnNavigate.Top = 592
pnl.Height = 662