Commit f58b6471 by Orkhan Alikhanov

Adjusted Dialog fonts

parent a404c51d
...@@ -250,7 +250,7 @@ private extension DialogView { ...@@ -250,7 +250,7 @@ private extension DialogView {
func prepareTitleLabel() { func prepareTitleLabel() {
titleArea.addSubview(titleLabel) titleArea.addSubview(titleLabel)
titleLabel.font = RobotoFont.bold(with: 19) titleLabel.font = RobotoFont.bold(with: 20)
titleLabel.textColor = Color.darkText.primary titleLabel.textColor = Color.darkText.primary
titleLabel.numberOfLines = 0 titleLabel.numberOfLines = 0
} }
...@@ -265,6 +265,7 @@ private extension DialogView { ...@@ -265,6 +265,7 @@ private extension DialogView {
func prepareButtons() { func prepareButtons() {
[positiveButton, negativeButton, neutralButton].forEach { [positiveButton, negativeButton, neutralButton].forEach {
buttonArea.addSubview($0) buttonArea.addSubview($0)
$0.titleLabel?.font = RobotoFont.medium(with: 14)
$0.contentEdgeInsets = UIEdgeInsets(top: 0, left: 8, bottom: 0, right: 8) $0.contentEdgeInsets = UIEdgeInsets(top: 0, left: 8, bottom: 0, right: 8)
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment