Browse Source

ButtonBarView: Change according to design

Soomin Lee 7 years ago
parent
commit
0aaf699c97
2 changed files with 2 additions and 2 deletions
  1. 1 1
      Resources/VLCLabelCell.xib
  2. 1 1
      Sources/ButtonBarView.swift

+ 1 - 1
Resources/VLCLabelCell.xib

@@ -23,7 +23,7 @@
                         <constraints>
                             <constraint firstAttribute="height" constant="20" id="kWi-HY-P6M"/>
                         </constraints>
-                        <fontDescription key="fontDescription" type="system" pointSize="13"/>
+                        <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="13"/>
                         <nil key="textColor"/>
                         <nil key="highlightedColor"/>
                     </label>

+ 1 - 1
Sources/ButtonBarView.swift

@@ -17,7 +17,7 @@ class ButtonBarView: UICollectionView {
     var selectedBar: UIView!
     var separatorView: UIView!
 
-    let selectedBarHeight: CGFloat = 4
+    let selectedBarHeight: CGFloat = 2
     let separatorHeight: CGFloat = 1.5
 
     var selectedIndex = 0