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

customize the bage size #56

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

customize the bage size #56

wants to merge 6 commits into from

Conversation

zxwcool
Copy link

@zxwcool zxwcool commented Jan 1, 2016

if u want to customize the bage size, set the badgeMinWidth property to a nonzero value, if u want to use the default size, just not set any value to the badgeMinWidth property.

Change the value of the  property named badgeMinWidth to customize the
size of the badge.
if u want to use the default size, only not to set the value of
badgeMinWidth or set the value to zero.
reinstall pod or not run
if u want to customize the bage size, set the badgeMinWidth property to
a nonzero value, if u want to use the default size, just not set any
value to the badgeMinWidth property.
@JaviSoto
Copy link
Owner

JaviSoto commented Jan 1, 2016

Hi!

What's the purpose of the changes in this pull request?

@zxwcool
Copy link
Author

zxwcool commented Jan 2, 2016

some times the superview has a small size, so I want to make the badge size smaller to fit the superview it badged, and I could control the badge size at any time I want.

@JaviSoto
Copy link
Owner

JaviSoto commented Jan 2, 2016

I'm not sure I understand. Maybe post a couple of screenshots to show this?
On Fri, Jan 1, 2016 at 6:47 PM Coding Dog [email protected] wrote:

some times the superview has a small size, so I want to make the badge
size smaller to fit the superview it badged, and I could control the badge
size at any time I want.


Reply to this email directly or view it on GitHub
#56 (comment).

Javier Soto

@zxwcool
Copy link
Author

zxwcool commented Jan 2, 2016

it looks like this, if U don't change the size of the badge, but the view U want to badged has a very small size, it will looks like the picture shown.
first

@zxwcool
Copy link
Author

zxwcool commented Jan 2, 2016

but I want to make the size of the badge and the size of the view have a right proportion, so I change the size of the badge by give some new value to the badgeMinWidth property. now it looks like this
second

if u want to customize the bage size, set the badgeMinWidth property to
a nonzero value, if u want to use the default size, just not set any
value to the badgeMinWidth property.
@zxwcool
Copy link
Author

zxwcool commented Jan 3, 2016

why I always got this error "The command "gem install cocoapods" failed and exited with 1 during ."?

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.

None yet

2 participants