jessesquires / BButton

Twitter Bootstrap buttons for iOS
http://cocoadocs.org/docsets/BButton/
Other
712 stars 82 forks source link

BUG FIX issue 43 letter clipping #44

Closed ericertl closed 5 years ago

ericertl commented 7 years ago

I've noticed that if I have a prefix containing the letters "g", "p", etc, the bottom part of the text is cut off when I use font awesome icons.

Using setAttributedTitle instead of setTitle in addAwesomeIcon fixes this.

codecov-io commented 7 years ago

Current coverage is 57.69% (diff: 90.91%)

Merging #44 into develop will increase coverage by 0.21%

@@            develop        #44   diff @@
==========================================
  Files             8          8          
  Lines           334        338     +4   
  Methods          61         61          
  Messages          0          0          
  Branches         17         17          
==========================================
+ Hits            192        195     +3   
- Misses          137        138     +1   
  Partials          5          5          

Sunburst

Diff Coverage File Path
••••••••• 90% BButton/Classes/BButton.m

Powered by Codecov. Last update b3d96ad...76c3bdf