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
@@ -63,11 +63,11 @@ class MessagesPackListView: UITableViewController {
|
||||
|
||||
var config = cell.defaultContentConfiguration()
|
||||
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.preservesSuperviewLayoutMargins = false
|
||||
config.textProperties.font = UIFont.systemFont(ofSize: 14)
|
||||
config.secondaryTextProperties.font = UIFont.systemFont(ofSize: 12)
|
||||
config.textProperties.font = UIFont.preferredFont(forTextStyle: .caption1)
|
||||
config.secondaryTextProperties.font = UIFont.preferredFont(forTextStyle: .caption2)
|
||||
|
||||
if indexPath.section == 0 {
|
||||
config.text = "All"
|
||||
|
||||
@@ -66,11 +66,11 @@ class StickerBrowserViewController: MSStickerBrowserViewController {
|
||||
labelStack.layer.masksToBounds = true
|
||||
|
||||
labelTitle.textColor = .white
|
||||
labelTitle.font = UIFont.systemFont(ofSize: 14)
|
||||
labelTitle.font = UIFont.preferredFont(forTextStyle: .subheadline)
|
||||
labelTitle.textAlignment = .center
|
||||
|
||||
labelSubTitle.textColor = .white
|
||||
labelSubTitle.font = UIFont.systemFont(ofSize: 12)
|
||||
labelSubTitle.font = UIFont.preferredFont(forTextStyle: .caption1)
|
||||
labelSubTitle.textAlignment = .center
|
||||
}
|
||||
|
||||
|
||||