I didn't find a way to increase the width of the button.
Any suggestion?
B4X:
Sub btnFreeForm_Click
Dim input As B4XInputTemplate
input.Initialize
input.RegexPattern = ".+" 'require at least one character
Wait For (dialog.ShowTemplate(input, "OK", "", "CANCELAR")) Complete (Result As Int)
If Result = xui.DialogResponse_Positive Then
dialog.Show(input.Text, "OK", "", "")
End If
End Sub