浏览代码

调整 UI 大小

jsonwang 3 年之前
父节点
当前提交
c7411e11e9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      BFRecordScreenKit/Classes/RecordScreen/View/BFVoiceSettingView.swift

+ 1 - 1
BFRecordScreenKit/Classes/RecordScreen/View/BFVoiceSettingView.swift

@@ -72,7 +72,7 @@ class BFVoiceSettingView: UIView {
         layout.minimumLineSpacing = 30
         layout.sectionInset = UIEdgeInsets.zero
         layout.minimumInteritemSpacing = 0
-        let collectView = UICollectionView(frame: CGRect(x: 60, y: 0, width: cScreenWidth, height: 40), collectionViewLayout: layout)
+        let collectView = UICollectionView(frame: CGRect(x: 60, y: 0, width: cScreenWidth - 60, height: 40), collectionViewLayout: layout)
         collectView.isPagingEnabled = false
         collectView.showsHorizontalScrollIndicator = false
         collectView.showsVerticalScrollIndicator = false