Sub Class_Globals
Private fx As JFX
Dim mParent As Form
Private Label1 As Label
End Sub
'Initializes the object. You can add parameters to this method if needed.
Public Sub Initialize(Parent As Form)
mParent = Parent
End Sub
Sub Show
Dim xui As XUI
Dim p As B4XView = xui.CreatePanel("")
p.LoadLayout("1")
mParent.RootPane.AddNode(p,0,0,mParent.Width, mParent.Height)
Label1.PrefHeight = 100 '<-- no affect
End Sub