iOS Question B4XDialog / B4XDialoSignatureTemplate change Size Width+Height

palpedrinha

Member
Licensed User
Hi All,

I'm using the B4XDialog and B4XDialoSignatureTemplate with iphone and everything is ok. Now I'm moving some APPs to work with iPad and I got a problem!

Well ... is not really a problem like a bug or a crash. It's a visual problem!

The iPad screen is bigger than an iPhone screen and therefore, everytime I call (as example) B4XDialoSignatureTemplate the Dialog box that happears on the screen is very small. ... This is the problem!

Is there a way to resize or enlarge the dialog so I can make it bigger?

Thanks and regards,
Pedro Alpedrinha
 

Erel

Administrator
Staff member
Licensed User
B4X:
Sub Page1_Click
   Signature.Resize(Page1.RootPanel.Width * 0.8, Page1.RootPanel.Height * 0.8)
   Wait For (Dialog.ShowTemplate(Signature, "OK", "", "CANCEL")) complete (result As Int)
End Sub
 
Top