图片浏览---红蓝立体的按钮文本居中
This commit is contained in:
parent
88b995b95a
commit
c2e73588b5
Binary file not shown.
@ -121,7 +121,7 @@ class CCSpatialPhotoDisplayController: BaseController {
|
||||
button.tag = 202
|
||||
button.isSelected = false
|
||||
button.addTarget(self, action: #selector(navgationButtonClick2(sender:)), for: UIControl.Event.touchUpInside)
|
||||
button.frame = CGRect(x: 2, y: 10, width: SCREEN_Width * 0.4, height: 36)
|
||||
button.frame = CGRect(x: 2, y: 10, width: SCREEN_Width * 0.4 + 20, height: 36)
|
||||
button.centerY = StatuBar_Height + NavBar_Height * 0.5
|
||||
button.centerX = SCREEN_Width * 0.5
|
||||
button.clipsToBounds = true
|
||||
@ -133,7 +133,7 @@ class CCSpatialPhotoDisplayController: BaseController {
|
||||
|
||||
button.setTitleColor(UIColor.white, for: UIControl.State.normal)
|
||||
button.titleLabel?.font = KFont_Medium(14)
|
||||
button.updateBtnEdgeInsets(style: .Right, space: 5)
|
||||
button.updateBtnEdgeInsets(style: .Right, space: 10)
|
||||
return button
|
||||
}()
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user