fix: aspect ratio
This commit is contained in:
parent
6384a77697
commit
35544b3066
|
@ -243,7 +243,7 @@ extension WelcomeViewController {
|
||||||
logoImageView.topAnchor.constraint(equalTo: view.layoutMarginsGuide.topAnchor),
|
logoImageView.topAnchor.constraint(equalTo: view.layoutMarginsGuide.topAnchor),
|
||||||
logoImageView.leadingAnchor.constraint(equalTo: view.readableContentGuide.leadingAnchor, constant: 35),
|
logoImageView.leadingAnchor.constraint(equalTo: view.readableContentGuide.leadingAnchor, constant: 35),
|
||||||
view.readableContentGuide.trailingAnchor.constraint(equalTo: logoImageView.trailingAnchor, constant: 35),
|
view.readableContentGuide.trailingAnchor.constraint(equalTo: logoImageView.trailingAnchor, constant: 35),
|
||||||
logoImageView.heightAnchor.constraint(equalTo: logoImageView.widthAnchor, multiplier: 65.4/265.1),
|
logoImageView.heightAnchor.constraint(equalTo: logoImageView.widthAnchor, multiplier: 75.0/269.0),
|
||||||
])
|
])
|
||||||
logoImageView.setContentHuggingPriority(.defaultHigh, for: .vertical)
|
logoImageView.setContentHuggingPriority(.defaultHigh, for: .vertical)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue