Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Oggerschummer opened this issue Nov 15, 2016 · 1 comment
Open

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

Oggerschummer opened this issue Nov 15, 2016 · 1 comment

Comments

@Oggerschummer
Copy link

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
Copy link
Owner

Hey!

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants