Skip to content

customize the bage size#56

Open
zxwcool wants to merge 6 commits intoJaviSoto:masterfrom
zxwcool:master
Open

customize the bage size#56
zxwcool wants to merge 6 commits intoJaviSoto:masterfrom
zxwcool:master

Conversation

@zxwcool
Copy link
Copy Markdown

@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
Copy Markdown
Owner

JaviSoto commented Jan 1, 2016

Hi!

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

@zxwcool
Copy link
Copy Markdown
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
Copy Markdown
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 notifications@github.com 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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

2 participants