Bläddra i källkod

ButtonBarView: Change according to design

Soomin Lee 7 år sedan
förälder
incheckning
0aaf699c97
2 ändrade filer med 2 tillägg och 2 borttagningar
  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