Hello,
I am trying to set the size of a pane, at runtime, but for some reason it doesn't work.
what am I doing wrong ?
I am trying to set the size of a pane, at runtime, but for some reason it doesn't work.
what am I doing wrong ?
B4X:
' ResolutionX and ResolutionY contain the screen and mainform resolution
' Caixa1 is a Pane created via Abstract Designer
Dim SizeX as Double = ResolutionX / 5
Dim SizeY as Double = ResolutionY / 5
Caixa1.Top=0
Caixa1.Left=0
Caixa1.SetSize(SizeX,SizeY)