Manos Chorianopoulos

fix top header line gap

...@@ -54,7 +54,7 @@ import SwiftEventBus ...@@ -54,7 +54,7 @@ import SwiftEventBus
54 54
55 topBorderLine.translatesAutoresizingMaskIntoConstraints = false 55 topBorderLine.translatesAutoresizingMaskIntoConstraints = false
56 topBorderLine.image = image 56 topBorderLine.image = image
57 - topBorderLine.contentMode = .scaleAspectFit 57 + topBorderLine.contentMode = .scaleAspectFill
58 58
59 NSLayoutConstraint.activate([ 59 NSLayoutConstraint.activate([
60 topBorderLine.topAnchor.constraint(equalTo: mainView.topAnchor, constant: 0), 60 topBorderLine.topAnchor.constraint(equalTo: mainView.topAnchor, constant: 0),
......
...@@ -70,7 +70,7 @@ import AVFoundation ...@@ -70,7 +70,7 @@ import AVFoundation
70 70
71 topBorderLine.translatesAutoresizingMaskIntoConstraints = false 71 topBorderLine.translatesAutoresizingMaskIntoConstraints = false
72 topBorderLine.image = image 72 topBorderLine.image = image
73 - topBorderLine.contentMode = .scaleAspectFit 73 + topBorderLine.contentMode = .scaleAspectFill
74 74
75 NSLayoutConstraint.activate([ 75 NSLayoutConstraint.activate([
76 topBorderLine.topAnchor.constraint(equalTo: mainView.topAnchor, constant: 0), 76 topBorderLine.topAnchor.constraint(equalTo: mainView.topAnchor, constant: 0),
......
...@@ -60,7 +60,7 @@ import SwiftEventBus ...@@ -60,7 +60,7 @@ import SwiftEventBus
60 60
61 topBorderLine.translatesAutoresizingMaskIntoConstraints = false 61 topBorderLine.translatesAutoresizingMaskIntoConstraints = false
62 topBorderLine.image = image 62 topBorderLine.image = image
63 - topBorderLine.contentMode = .scaleAspectFit 63 + topBorderLine.contentMode = .scaleAspectFill
64 64
65 NSLayoutConstraint.activate([ 65 NSLayoutConstraint.activate([
66 topBorderLine.topAnchor.constraint(equalTo: mainView.topAnchor, constant: 0), 66 topBorderLine.topAnchor.constraint(equalTo: mainView.topAnchor, constant: 0),
......
...@@ -78,7 +78,7 @@ import SwiftEventBus ...@@ -78,7 +78,7 @@ import SwiftEventBus
78 78
79 topBorderShadow.translatesAutoresizingMaskIntoConstraints = false 79 topBorderShadow.translatesAutoresizingMaskIntoConstraints = false
80 topBorderShadow.image = image 80 topBorderShadow.image = image
81 - topBorderShadow.contentMode = .scaleAspectFit 81 + topBorderShadow.contentMode = .scaleAspectFill
82 82
83 NSLayoutConstraint.activate([ 83 NSLayoutConstraint.activate([
84 topBorderShadow.topAnchor.constraint(equalTo: mainView.topAnchor, constant: 0), 84 topBorderShadow.topAnchor.constraint(equalTo: mainView.topAnchor, constant: 0),
......
...@@ -69,7 +69,7 @@ import SwiftEventBus ...@@ -69,7 +69,7 @@ import SwiftEventBus
69 69
70 topBorderShadow.translatesAutoresizingMaskIntoConstraints = false 70 topBorderShadow.translatesAutoresizingMaskIntoConstraints = false
71 topBorderShadow.image = image 71 topBorderShadow.image = image
72 - topBorderShadow.contentMode = .scaleAspectFit 72 + topBorderShadow.contentMode = .scaleAspectFill
73 73
74 NSLayoutConstraint.activate([ 74 NSLayoutConstraint.activate([
75 topBorderShadow.topAnchor.constraint(equalTo: mainView.topAnchor, constant: 0), 75 topBorderShadow.topAnchor.constraint(equalTo: mainView.topAnchor, constant: 0),
......
...@@ -61,7 +61,7 @@ import MapKit ...@@ -61,7 +61,7 @@ import MapKit
61 61
62 topBorderLine.translatesAutoresizingMaskIntoConstraints = false 62 topBorderLine.translatesAutoresizingMaskIntoConstraints = false
63 topBorderLine.image = image 63 topBorderLine.image = image
64 - topBorderLine.contentMode = .scaleAspectFit 64 + topBorderLine.contentMode = .scaleAspectFill
65 65
66 NSLayoutConstraint.activate([ 66 NSLayoutConstraint.activate([
67 topBorderLine.topAnchor.constraint(equalTo: mainView.topAnchor, constant: 0), 67 topBorderLine.topAnchor.constraint(equalTo: mainView.topAnchor, constant: 0),
......
...@@ -64,7 +64,7 @@ import SwiftEventBus ...@@ -64,7 +64,7 @@ import SwiftEventBus
64 64
65 topBorderLine.translatesAutoresizingMaskIntoConstraints = false 65 topBorderLine.translatesAutoresizingMaskIntoConstraints = false
66 topBorderLine.image = image 66 topBorderLine.image = image
67 - topBorderLine.contentMode = .scaleAspectFit 67 + topBorderLine.contentMode = .scaleAspectFill
68 68
69 NSLayoutConstraint.activate([ 69 NSLayoutConstraint.activate([
70 topBorderLine.topAnchor.constraint(equalTo: mainView.topAnchor, constant: 0), 70 topBorderLine.topAnchor.constraint(equalTo: mainView.topAnchor, constant: 0),
......
...@@ -61,7 +61,7 @@ import SwiftEventBus ...@@ -61,7 +61,7 @@ import SwiftEventBus
61 61
62 topBorderLine.translatesAutoresizingMaskIntoConstraints = false 62 topBorderLine.translatesAutoresizingMaskIntoConstraints = false
63 topBorderLine.image = image 63 topBorderLine.image = image
64 - topBorderLine.contentMode = .scaleAspectFit 64 + topBorderLine.contentMode = .scaleAspectFill
65 65
66 NSLayoutConstraint.activate([ 66 NSLayoutConstraint.activate([
67 topBorderLine.topAnchor.constraint(equalTo: mainView.topAnchor, constant: 0), 67 topBorderLine.topAnchor.constraint(equalTo: mainView.topAnchor, constant: 0),
......