JSBadgeView
JSBadgeView copied to clipboard
customize the bage size
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.
Hi!
What's the purpose of the changes in this pull request?
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.
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 https://github.com/JaviSoto/JSBadgeView/pull/56#issuecomment-168359501.
Javier Soto
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.
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
why I always got this error "The command "gem install cocoapods" failed and exited with 1 during ."?