Hi,
when adding buttons to a pane using code below, the Buttons Width and Height are fixed and not set acoording the code.
Is this a bug or do I miss something in the code?
when adding buttons to a pane using code below, the Buttons Width and Height are fixed and not set acoording the code.
Is this a bug or do I miss something in the code?
B4X:
Sub CreateCharMatrix
Dim btn As Button
btn.Initialize("btn")
btn.Tag = "1"
MainForm.RootPane.AddNode(btn, 20, 20, 10, 10)
Dim btn As Button
btn.Initialize("btn")
btn.Tag = "2"
MainForm.RootPane.AddNode(btn, 20, 80, 20, 20)
End Sub