For i = 0 To 10
Dim p As B4XView = x.CreatePanel("p")
p.Left=0
p.Top = 0
p.Width=100
p.Height = 150
p.LoadLayout("bookitemslayout")
clvitems.Add(p,"")
Log(i)
Next
This is the issue, My Designer is actually anchored well, and it displays nice there.
For i = 0 To 10
Dim p As B4XView = x.CreatePanel("p")
p.SetLayoutAnimated(0,0,10,100,150)
p.LoadLayout("bookitemslayout")
clvitems.Add(p,"")
Sleep(0)
Next
The Label itemname, itemprice, and txtitemquantity always jumps to the top..
I'll test the attached project tomorrow, hopefully it works as expected. I know how to use the designer, I've been working with b4a and I've never heard any issue related to this. I guess b4j handles layouts differently. Thank you very much @kgcarpenter and @Erel for your time. β€β€