Explorar el Código

ButtonBarView: Change according to design

Soomin Lee hace 7 años
padre
commit
0aaf699c97
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  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