зеркало из https://github.com/nextcloud/talk-ios.git
Adjust title font size to fit width.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
This commit is contained in:
Родитель
7962d980fa
Коммит
da1d1480ba
|
@ -28,6 +28,8 @@
|
|||
self.contentView.frame = self.bounds;
|
||||
self.image.layer.cornerRadius = 15.0f;
|
||||
self.image.clipsToBounds = YES;
|
||||
self.title.titleLabel.adjustsFontSizeToFitWidth = YES;
|
||||
self.title.titleLabel.minimumScaleFactor = 0.75;
|
||||
}
|
||||
|
||||
return self;
|
||||
|
|
Загрузка…
Ссылка в новой задаче