1. *** New version of B4J is available ***
    B4J v7.8
    Dismiss Notice

iOS Question B4XDialog / B4XDialoSignatureTemplate change Size Width+Height

Discussion in 'iOS Questions' started by palpedrinha, Aug 16, 2019.

  1. palpedrinha

    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
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Code:
    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
     
  3. palpedrinha

    palpedrinha Member Licensed User

    Hi Erel,

    Many thanks for your reply.

    It works perfectly,
    Thank you
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice