CooperRS / RMActionController

This is an iOS control for presenting any UIView in an UIAlertController like manner
MIT License
539 stars 59 forks source link

Missing property to specify border width (Default is 10) #18

Open Oggerschummer opened 8 years ago

Oggerschummer commented 8 years ago

Hi,

really appreciate your work.

Would it be possible to add a property that allows a subclass to specify the border width to be used ?

Currently the constraints are fixed to 10px when setting up the container constraints in setupConstraints. From a visual perspective it would fit better to my app if this was only 2px. The same issue I have with setupTopContainersTopMarginConstraint where you use a fixed size as well.

So ideally one would be able to set the leading, trailing, top and bottom margin from a subclass using a public float property or a function that one could override in a subclass.

CooperRS commented 7 years ago

Hey!

Sounds like a doable suggestion. I'll take a look at this for the next release :)