Manos Chorianopoulos

fix questionnaireButton v2

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