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

Change Button Size

Open SikandAlex opened this issue 9 years ago • 3 comments

I'd like to change the size of the buttons within the alert view but I can't seem to do it. The kWindowHeight and kWindowWidth properties just change the dimensions of the AlertView itself without changing the buttons. The kButtonHeight property only changes the spacing between the buttons not the size itself. Any suggestions?

Thanks guys, fantastic work Alex

SikandAlex avatar Jul 19 '16 22:07 SikandAlex

2016-08-07 4 57 42

Seaofbbs avatar Aug 07 '16 08:08 Seaofbbs

Add "btn.frame = CGRect(....)" in "for btn in buttons{}" to change size. I am looking for some smart way,too...

Seaofbbs avatar Aug 07 '16 09:08 Seaofbbs

Please make the btn.frame height portion of the CGRect settable (i.e. not hardcoded to 35).

tidyware avatar Sep 04 '17 00:09 tidyware