File tree Expand file tree Collapse file tree
atomic_x/Sources/Widgets/BasicWidgets/AtomicSettingCell/View
Sources/Component/AudioEffect Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,6 +41,11 @@ public class ButtonCollectionCell: UICollectionViewCell {
4141 view. textColor = ThemeStore . shared. colorTokens. textColorPrimary
4242 view. textAlignment = . center
4343 view. numberOfLines = 2
44+ view. lineBreakMode = . byTruncatingTail
45+ view. adjustsFontSizeToFitWidth = true
46+ view. minimumScaleFactor = 0.8
47+ view. allowsDefaultTighteningForTruncation = true
48+ view. baselineAdjustment = . alignCenters
4449 self . contentView. addSubview ( view)
4550 return view
4651 } ( )
@@ -74,9 +79,10 @@ public class ButtonCollectionCell: UICollectionViewCell {
7479 }
7580
7681 titleLabel. snp. makeConstraints { make in
77- make. top. equalTo ( containerView. snp. bottom) . offset ( 6 .0)
82+ make. top. equalTo ( containerView. snp. bottom) . offset ( 2 .0)
7883 make. centerX. equalToSuperview ( )
7984 make. width. equalToSuperview ( )
85+ make. bottom. lessThanOrEqualToSuperview ( )
8086 }
8187 }
8288
Original file line number Diff line number Diff line change 64476447 "en": {
64486448 "stringUnit": {
64496449 "state": "translated",
6450- "value": "Naughty child "
6450+ "value": "Kid "
64516451 }
64526452 },
64536453 "zh-Hans": {
65176517 "en": {
65186518 "stringUnit": {
65196519 "state": "translated",
6520- "value": "Loli "
6520+ "value": "Girl "
65216521 }
65226522 },
65236523 "zh-Hans": {
65526552 "en": {
65536553 "stringUnit": {
65546554 "state": "translated",
6555- "value": "Original "
6555+ "value": "Default "
65566556 }
65576557 },
65586558 "zh-Hans": {
80228022 "en": {
80238023 "stringUnit": {
80248024 "state": "translated",
8025- "value": "Metallic sound "
8025+ "value": "Metallic"
80268026 }
80278027 },
80288028 "zh-Hans": {
83028302 "en": {
83038303 "stringUnit": {
83048304 "state": "translated",
8305- "value": "KTV "
8305+ "value": "Karaoke "
83068306 }
83078307 },
83088308 "zh-Hans": {
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ extension AudioEffectView {
9393 make. trailing. equalToSuperview ( ) . inset ( 20 )
9494 make. top. equalToSuperview ( ) . inset ( 20 )
9595 make. height. equalTo ( 24 . scale375 ( ) )
96- make. width. equalTo ( 32 . scale375 ( ) )
96+ make. width. greaterThanOrEqualTo ( 32 . scale375 ( ) )
9797 }
9898 titleLabel. snp. remakeConstraints { make in
9999 make. centerY. equalTo ( doneButton)
You can’t perform that action at this time.
0 commit comments