Showing
5 changed files
with
6 additions
and
6 deletions
... | @@ -77,7 +77,7 @@ import SwiftEventBus | ... | @@ -77,7 +77,7 @@ import SwiftEventBus |
77 | redeemButton.backgroundColor = UIColor(red: 0.47, green: 0.75, blue: 0.08, alpha: 1.00) | 77 | redeemButton.backgroundColor = UIColor(red: 0.47, green: 0.75, blue: 0.08, alpha: 1.00) |
78 | redeemButton.layer.cornerRadius = 8.0 | 78 | redeemButton.layer.cornerRadius = 8.0 |
79 | redeemButton.frame = CGRect(x: 0.0, y: 0.0, width: redeemButton.intrinsicContentSize.width, height: 44) | 79 | redeemButton.frame = CGRect(x: 0.0, y: 0.0, width: redeemButton.intrinsicContentSize.width, height: 44) |
80 | - redeemButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 8, bottom: 0, right: 8) | 80 | + redeemButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 16, bottom: 0, right: 16) |
81 | // Fix width for ipad | 81 | // Fix width for ipad |
82 | // if UIDevice.current.userInterfaceIdiom == .pad { | 82 | // if UIDevice.current.userInterfaceIdiom == .pad { |
83 | // // iPad | 83 | // // iPad | ... | ... |
... | @@ -125,7 +125,7 @@ import AVFoundation | ... | @@ -125,7 +125,7 @@ import AVFoundation |
125 | redeemButton.backgroundColor = UIColor(red: 0.47, green: 0.75, blue: 0.08, alpha: 1.00) | 125 | redeemButton.backgroundColor = UIColor(red: 0.47, green: 0.75, blue: 0.08, alpha: 1.00) |
126 | redeemButton.layer.cornerRadius = 8.0 | 126 | redeemButton.layer.cornerRadius = 8.0 |
127 | redeemButton.frame = CGRect(x: 0.0, y: 0.0, width: redeemButton.intrinsicContentSize.width, height: 44) | 127 | redeemButton.frame = CGRect(x: 0.0, y: 0.0, width: redeemButton.intrinsicContentSize.width, height: 44) |
128 | - redeemButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 8, bottom: 0, right: 8) | 128 | + redeemButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 16, bottom: 0, right: 16) |
129 | // Fix width for ipad | 129 | // Fix width for ipad |
130 | // if UIDevice.current.userInterfaceIdiom == .pad { | 130 | // if UIDevice.current.userInterfaceIdiom == .pad { |
131 | // // iPad | 131 | // // iPad |
... | @@ -141,7 +141,7 @@ import AVFoundation | ... | @@ -141,7 +141,7 @@ import AVFoundation |
141 | mapButton.backgroundColor = UIColor(red: 0.90, green: 0.90, blue: 0.90, alpha: 1.00) | 141 | mapButton.backgroundColor = UIColor(red: 0.90, green: 0.90, blue: 0.90, alpha: 1.00) |
142 | mapButton.layer.cornerRadius = 8.0 | 142 | mapButton.layer.cornerRadius = 8.0 |
143 | mapButton.frame = CGRect(x: 0.0, y: 0.0, width: mapButton.intrinsicContentSize.width, height: 44) | 143 | mapButton.frame = CGRect(x: 0.0, y: 0.0, width: mapButton.intrinsicContentSize.width, height: 44) |
144 | - mapButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 8, bottom: 0, right: 8) | 144 | + mapButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 16, bottom: 0, right: 16) |
145 | // Fix width for ipad | 145 | // Fix width for ipad |
146 | // if UIDevice.current.userInterfaceIdiom == .pad { | 146 | // if UIDevice.current.userInterfaceIdiom == .pad { |
147 | // // iPad | 147 | // // iPad | ... | ... |
... | @@ -83,7 +83,7 @@ import SwiftEventBus | ... | @@ -83,7 +83,7 @@ import SwiftEventBus |
83 | redeemButton.backgroundColor = UIColor(red: 0.47, green: 0.75, blue: 0.08, alpha: 1.00) | 83 | redeemButton.backgroundColor = UIColor(red: 0.47, green: 0.75, blue: 0.08, alpha: 1.00) |
84 | redeemButton.layer.cornerRadius = 8.0 | 84 | redeemButton.layer.cornerRadius = 8.0 |
85 | redeemButton.frame = CGRect(x: 0.0, y: 0.0, width: redeemButton.intrinsicContentSize.width, height: 44) | 85 | redeemButton.frame = CGRect(x: 0.0, y: 0.0, width: redeemButton.intrinsicContentSize.width, height: 44) |
86 | - redeemButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 8, bottom: 0, right: 8) | 86 | + redeemButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 16, bottom: 0, right: 16) |
87 | // Fix width for ipad | 87 | // Fix width for ipad |
88 | if UIDevice.current.userInterfaceIdiom == .pad { | 88 | if UIDevice.current.userInterfaceIdiom == .pad { |
89 | // iPad | 89 | // iPad | ... | ... |
... | @@ -104,7 +104,7 @@ import SwiftEventBus | ... | @@ -104,7 +104,7 @@ import SwiftEventBus |
104 | redeemButton.backgroundColor = UIColor(red: 0.47, green: 0.75, blue: 0.08, alpha: 1.00) | 104 | redeemButton.backgroundColor = UIColor(red: 0.47, green: 0.75, blue: 0.08, alpha: 1.00) |
105 | redeemButton.layer.cornerRadius = 8.0 | 105 | redeemButton.layer.cornerRadius = 8.0 |
106 | redeemButton.frame = CGRect(x: 0.0, y: 0.0, width: redeemButton.intrinsicContentSize.width, height: 44) | 106 | redeemButton.frame = CGRect(x: 0.0, y: 0.0, width: redeemButton.intrinsicContentSize.width, height: 44) |
107 | - redeemButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 8, bottom: 0, right: 8) | 107 | + redeemButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 16, bottom: 0, right: 16) |
108 | // Fix width for ipad | 108 | // Fix width for ipad |
109 | // if UIDevice.current.userInterfaceIdiom == .pad { | 109 | // if UIDevice.current.userInterfaceIdiom == .pad { |
110 | // // iPad | 110 | // // iPad | ... | ... |
... | @@ -97,7 +97,7 @@ import SwiftEventBus | ... | @@ -97,7 +97,7 @@ import SwiftEventBus |
97 | activateButton.backgroundColor = UIColor(red: 0.47, green: 0.75, blue: 0.08, alpha: 1.00) | 97 | activateButton.backgroundColor = UIColor(red: 0.47, green: 0.75, blue: 0.08, alpha: 1.00) |
98 | activateButton.layer.cornerRadius = 8.0 | 98 | activateButton.layer.cornerRadius = 8.0 |
99 | activateButton.frame = CGRect(x: 0.0, y: 0.0, width: activateButton.intrinsicContentSize.width, height: 44) | 99 | activateButton.frame = CGRect(x: 0.0, y: 0.0, width: activateButton.intrinsicContentSize.width, height: 44) |
100 | - activateButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 8, bottom: 0, right: 8) | 100 | + activateButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 16, bottom: 0, right: 16) |
101 | 101 | ||
102 | // Fix width for ipad | 102 | // Fix width for ipad |
103 | // if UIDevice.current.userInterfaceIdiom == .pad { | 103 | // if UIDevice.current.userInterfaceIdiom == .pad { | ... | ... |
-
Please register or login to post a comment