Android Question B4XDialog Size Font

MarcoRome

Expert
Licensed User
Longtime User
Hi all. I have this code:

B4X:
InputTemplate.lblTitle.Text = "Digita il Numero Telefonico"
                    InputTemplate.Text = numero_telefonico
           
                    Wait For (Dialog.ShowTemplate(InputTemplate, "OK", "", "CANCELLA")) Complete (Result As Int)
                    If Result = XUI.DialogResponse_Positive Then
                      ......
                    End If
Sub MainForm_Resize (Width As Double, Height As Double)
    If Dialog.Visible Then Dialog.Resize(Width, Height)
End Sub


and this result ( CANCELLA is big ), there is a way to reduce the characters ?

upload_2019-2-7_13-4-29.png


Thank you
Marco
 

MarcoRome

Expert
Licensed User
Longtime User
Hi Dear Don. Found the solution:

B4X:
Dialog.ButtonsFont = XUI.CreateDefaultFont(12)
 
Upvote 0
Top