Manos Chorianopoulos

fix questionnaireButton v2

......@@ -102,7 +102,7 @@ import SwiftEventBus
questionnaireButton.layer.shadowOpacity = 1.0
questionnaireButton.layer.shadowRadius = 0.0
questionnaireButton.layer.masksToBounds = false
questionnaireButton.contentEdgeInsets = UIEdgeInsets(top: 5, left: 10, bottom: 5, right: 10)
questionnaireButton.contentEdgeInsets = UIEdgeInsets(top: 7, left: 10, bottom: 3, right: 10)
} else {
questionnaireButton.setTitle("+Προτιμήσεις", for: .normal)
questionnaireButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 14)
......@@ -309,7 +309,7 @@ import SwiftEventBus
questionnaireButton.layer.shadowOpacity = 1.0
questionnaireButton.layer.shadowRadius = 0.0
questionnaireButton.layer.masksToBounds = false
questionnaireButton.contentEdgeInsets = UIEdgeInsets(top: 5, left: 10, bottom: 5, right: 10)
questionnaireButton.contentEdgeInsets = UIEdgeInsets(top: 7, left: 10, bottom: 3, right: 10)
} else {
for layer in (questionnaireButton.layer.sublayers ?? []) {
if(layer.name == "linearGradientLayer"){
......