SCLAlertView-Swift icon indicating copy to clipboard operation
SCLAlertView-Swift copied to clipboard

Is it possible to set the buttons to be side by side?

Open viniciusvieir opened this issue 8 years ago • 3 comments

I'd like the buttons to be side by side, instead of on top of each other, because my project is for iPad only and I think buttons which are one on top of another are easier to miss click. Thanks guys!

viniciusvieir avatar Jun 17 '17 06:06 viniciusvieir

@viniciusvieir did you ever found an answer for this?

hpbl avatar Oct 24 '17 18:10 hpbl

@hpbl unfortunately no answer so far

viniciusvieir avatar Oct 28 '17 12:10 viniciusvieir

add buttonsLayout in appearance works for me

let appearance = SCLAlertView.SCLAppearance(
      showCloseButton: false,
      buttonsLayout: SCLAlertButtonLayout.horizontal
    )

narayana-wijaya avatar Jan 02 '18 02:01 narayana-wijaya