mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2025-02-02 10:27:08 +01:00
Left-align the username in the profile header
This commit is contained in:
parent
ec2f819e63
commit
df25feb7fd
@ -187,6 +187,8 @@ final class ProfileHeaderView: UIView {
|
||||
button.titleLabel?.font = UIFontMetrics(forTextStyle: .callout).scaledFont(for: .systemFont(ofSize: 16, weight: .regular))
|
||||
button.titleLabel?.adjustsFontSizeToFitWidth = true
|
||||
button.titleLabel?.minimumScaleFactor = 0.5
|
||||
button.titleLabel?.textAlignment = .natural
|
||||
button.contentHorizontalAlignment = .leading
|
||||
button.setTitleColor(Asset.Colors.Label.secondary.color, for: .normal)
|
||||
button.menu = usernameButtonMenu
|
||||
button.showsMenuAsPrimaryAction = true
|
||||
|
Loading…
x
Reference in New Issue
Block a user