浏览代码

修改button字号

胡志强 3 年之前
父节点
当前提交
d5459c1341
共有 1 个文件被更改,包括 4 次插入3 次删除
  1. 4 3
      BFRecordScreenKit/Classes/RecordScreen/Controller/BFRecordScreenController.swift

+ 4 - 3
BFRecordScreenKit/Classes/RecordScreen/Controller/BFRecordScreenController.swift

@@ -174,6 +174,7 @@ public class BFRecordScreenController: BFBaseViewController {
             if currMediaType == .Video {
                 (cell as? BFVideoCoverViewCell)?.rotationView()
             }
+            searchStopAtRecordRange()
         }
     }
     
@@ -422,7 +423,7 @@ public class BFRecordScreenController: BFBaseViewController {
         let btn = UIButton(type: .custom)
         btn.setImage(imageInRecordScreenKit(by: "subtitleBtn_on"), for: .normal)
         btn.setTitle("function_subtitle".BFLocale, for: .normal)
-        btn.titleLabel?.font = UIFont.systemFont(ofSize: 10)
+        btn.titleLabel?.font = UIFont.systemFont(ofSize: 12)
         btn.addTarget(self, action: #selector(subTitleClick), for: .touchUpInside)
         btn.imageEdgeInsets = UIEdgeInsets(top: -20, left: 4, bottom: 0, right: -4)
         btn.titleEdgeInsets = UIEdgeInsets(top: 20, left: -40, bottom: -20, right: 0)
@@ -434,7 +435,7 @@ public class BFRecordScreenController: BFBaseViewController {
         let btn = UIButton(type: .custom)
         btn.setImage(imageInRecordScreenKit(by: "soundBtn"), for: .normal)
         btn.setTitle("function_voice".BFLocale, for: .normal)
-        btn.titleLabel?.font = UIFont.systemFont(ofSize: 10)
+        btn.titleLabel?.font = UIFont.systemFont(ofSize: 12)
         btn.addTarget(self, action: #selector(soundSetting), for: .touchUpInside)
         btn.imageEdgeInsets = UIEdgeInsets(top: -20, left: 4, bottom: 0, right: -4)
         btn.titleEdgeInsets = UIEdgeInsets(top: 20, left: -40, bottom: -20, right: 0)
@@ -446,7 +447,7 @@ public class BFRecordScreenController: BFBaseViewController {
         let btn = UIButton(type: .custom)
         btn.setImage(imageInRecordScreenKit(by: "TTS"), for: .normal)
         btn.setTitle("变声", for: .normal)
-        btn.titleLabel?.font = UIFont.systemFont(ofSize: 10)
+        btn.titleLabel?.font = UIFont.systemFont(ofSize: 12)
         btn.addTarget(self, action: #selector(voiceSetting), for: .touchUpInside)
         btn.imageEdgeInsets = UIEdgeInsets(top: -20, left: 4, bottom: 0, right: -4)
         btn.titleEdgeInsets = UIEdgeInsets(top: 20, left: -40, bottom: -20, right: 0)