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

Make button height customizable #191

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

sarbogast
Copy link

When you customize the button background image with something too small, the image is resized in a strange way. One possible solution would be to make the resizing cap insets customizable, another possibility is to make the button height customizable, which I'm doing here. Instead of using 31pt as the height, if a "buttonHeight" key is specified in the JSON design file, we use this one, otherwise we fall back to 31pt.

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

Successfully merging this pull request may close these issues.

2 participants