Manos Chorianopoulos

fix button title font size

......@@ -71,7 +71,7 @@ import SwiftEventBus
nameLabel.text = ccms?._title ?? ""
descriptionLabel.text = ccms?._subtitle ?? ""
redeemButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 16)
redeemButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 18)
redeemButton.setTitle("Ενεργοποίηση", for: .normal)
redeemButton.setTitleColor(.white, for: .normal)
redeemButton.backgroundColor = UIColor(red: 0.47, green: 0.75, blue: 0.08, alpha: 1.00)
......
......@@ -119,7 +119,7 @@ import AVFoundation
expirationLabel.text = "Το κουπόνι ισχύει έως " + (coupon?.expiration ?? "")
redeemButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 16)
redeemButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 18)
redeemButton.setTitle("Κάνε δώρο", for: .normal)
redeemButton.setTitleColor(.white, for: .normal)
redeemButton.backgroundColor = UIColor(red: 0.47, green: 0.75, blue: 0.08, alpha: 1.00)
......@@ -135,7 +135,7 @@ import AVFoundation
// redeemButton.widthAnchor.constraint(equalTo: view.widthAnchor, multiplier: 0.6).isActive = true
// }
mapButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 16)
mapButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 18)
mapButton.setTitle("Δες τα καταστήματα", for: .normal)
mapButton.setTitleColor(UIColor(red: 0.31, green: 0.62, blue: 0.18, alpha: 1.00), for: .normal)
mapButton.backgroundColor = UIColor(red: 0.90, green: 0.90, blue: 0.90, alpha: 1.00)
......
......@@ -87,11 +87,11 @@ import SwiftEventBus
// Fix width for ipad
if UIDevice.current.userInterfaceIdiom == .pad {
// iPad
redeemButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 19)
redeemButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 20)
// redeemButton.widthAnchor.constraint(equalToConstant: 250).isActive = true
} else {
// not iPad (iPhone, mac, tv, carPlay, unspecified)
redeemButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 16)
redeemButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 18)
// redeemButton.widthAnchor.constraint(equalTo: view.widthAnchor, multiplier: 0.6).isActive = true
}
......
......@@ -98,7 +98,7 @@ import SwiftEventBus
numberTextField.keyboardType = .asciiCapableNumberPad
numberTextField.addDoneButtonOnKeyboard()
redeemButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 16)
redeemButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 18)
redeemButton.setTitle("Αποστολή με SMS", for: .normal)
redeemButton.setTitleColor(.white, for: .normal)
redeemButton.backgroundColor = UIColor(red: 0.47, green: 0.75, blue: 0.08, alpha: 1.00)
......
......@@ -91,7 +91,7 @@ import SwiftEventBus
borderLineView.applyGradient(colours: [UIColor(rgb: 0x0AA3CD), UIColor(rgb: 0x6ECA43)], gradient: GradientOrientation.horizontal, cornerRadius: 0.0)
activateButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 16)
activateButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 18)
activateButton.setTitle("Ενεργοποίηση", for: .normal)
activateButton.setTitleColor(.white, for: .normal)
activateButton.backgroundColor = UIColor(red: 0.47, green: 0.75, blue: 0.08, alpha: 1.00)
......