Skip to content

Commit

Permalink
Fixed issue Cuberto#8
Browse files Browse the repository at this point in the history
  • Loading branch information
rmenezes committed May 8, 2019
1 parent 4df2eef commit fb36563
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions BubbleTabBar/Classes/CBTabBarButton.swift
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ public class CBTabBarButton: UIControl {
tabImage.translatesAutoresizingMaskIntoConstraints = false
tabLabel.translatesAutoresizingMaskIntoConstraints = false
tabLabel.font = UIFont.systemFont(ofSize: 14)
tabLabel.adjustsFontSizeToFitWidth = true
tabBg.translatesAutoresizingMaskIntoConstraints = false
tabBg.isUserInteractionEnabled = false
tabImage.setContentHuggingPriority(.required, for: .horizontal)
Expand Down

0 comments on commit fb36563

Please sign in to comment.