mirror of
https://github.com/neon443/StickerSlack.git
synced 2026-11-30 12:44:51 +00:00
update fonts
This commit is contained in:
3 files changed
+6
-6
No files matched your search
@@ -91,7 +91,7 @@ class EmojiPackDetailViewController: UIViewController {
|
|||||||
|
|
||||||
self.countLabel = UILabel()
|
self.countLabel = UILabel()
|
||||||
countLabel.text = "hello default"
|
countLabel.text = "hello default"
|
||||||
countLabel.font = UIFont.systemFont(ofSize: 14)
|
countLabel.font = UIFont.preferredFont(forTextStyle: .subheadline)
|
||||||
countLabel.textAlignment = .center
|
countLabel.textAlignment = .center
|
||||||
self.effectView = UIVisualEffectView(effect: nil)
|
self.effectView = UIVisualEffectView(effect: nil)
|
||||||
self.view.addSubview(effectView)
|
self.view.addSubview(effectView)
|
||||||
|
|||||||
@@ -63,11 +63,11 @@ class MessagesPackListView: UITableViewController {
|
|||||||
|
|
||||||
var config = cell.defaultContentConfiguration()
|
var config = cell.defaultContentConfiguration()
|
||||||
config.directionalLayoutMargins = .zero
|
config.directionalLayoutMargins = .zero
|
||||||
cell.layoutMargins = UIEdgeInsets(top: 4, left: 4, bottom: 4, right: 4)
|
cell.layoutMargins = UIEdgeInsets(top: 4, left: 4, bottom: 4, right: 8)
|
||||||
cell.separatorInset = UIEdgeInsets(top: 0, left: 4, bottom: 0, right: 0)
|
cell.separatorInset = UIEdgeInsets(top: 0, left: 4, bottom: 0, right: 0)
|
||||||
cell.preservesSuperviewLayoutMargins = false
|
cell.preservesSuperviewLayoutMargins = false
|
||||||
config.textProperties.font = UIFont.systemFont(ofSize: 14)
|
config.textProperties.font = UIFont.preferredFont(forTextStyle: .caption1)
|
||||||
config.secondaryTextProperties.font = UIFont.systemFont(ofSize: 12)
|
config.secondaryTextProperties.font = UIFont.preferredFont(forTextStyle: .caption2)
|
||||||
|
|
||||||
if indexPath.section == 0 {
|
if indexPath.section == 0 {
|
||||||
config.text = "All"
|
config.text = "All"
|
||||||
|
|||||||
@@ -66,11 +66,11 @@ class StickerBrowserViewController: MSStickerBrowserViewController {
|
|||||||
labelStack.layer.masksToBounds = true
|
labelStack.layer.masksToBounds = true
|
||||||
|
|
||||||
labelTitle.textColor = .white
|
labelTitle.textColor = .white
|
||||||
labelTitle.font = UIFont.systemFont(ofSize: 14)
|
labelTitle.font = UIFont.preferredFont(forTextStyle: .subheadline)
|
||||||
labelTitle.textAlignment = .center
|
labelTitle.textAlignment = .center
|
||||||
|
|
||||||
labelSubTitle.textColor = .white
|
labelSubTitle.textColor = .white
|
||||||
labelSubTitle.font = UIFont.systemFont(ofSize: 12)
|
labelSubTitle.font = UIFont.preferredFont(forTextStyle: .caption1)
|
||||||
labelSubTitle.textAlignment = .center
|
labelSubTitle.textAlignment = .center
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||