(I don't remember how to add an emoji to the title! )
In a class I have:
That log in B4A is 445, in B4J 0 (zero!)
So mPnlOver width is wrong, in B4J.
(enough infos?)
EDIT: The B4XPlusMinus that I pass to that initialization is in a layout that I load into the B4XMainPage (Root, of course).
In a class I have:
B4X:
Public Sub Initialize(PlusMinus As B4XPlusMinus)
mPlusMinus = PlusMinus
Dim mBase As B4XView = PlusMinus.mBase
mPnlOver.Initialize("pnlOver")
mBase.AddView(mPnlOver, PlusMinus.pnlMinus.Width, 0, PlusMinus.mBase.Width - PlusMinus.pnlMinus.Width - PlusMinus.pnlPlus.Width, PlusMinus.MainLabel.Height)
Log("mPnlOver.width: " & mPnlOver.Width)
That log in B4A is 445, in B4J 0 (zero!)
So mPnlOver width is wrong, in B4J.
(enough infos?)
EDIT: The B4XPlusMinus that I pass to that initialization is in a layout that I load into the B4XMainPage (Root, of course).