mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-17 10:43:30 +01:00
Fixes “Unable to satisfy constraints” Auto Layout warnings
This commit is contained in:
@@ -128,6 +128,7 @@ class BrowseViewController: UICollectionViewController, PeekPopPreviewing
|
|||||||
|
|
||||||
self.titleStackView = UIStackView(arrangedSubviews: [self.titleSourceIconView, self.titleCategoryIconView, self.titleLabel])
|
self.titleStackView = UIStackView(arrangedSubviews: [self.titleSourceIconView, self.titleCategoryIconView, self.titleLabel])
|
||||||
self.titleStackView.spacing = 4
|
self.titleStackView.spacing = 4
|
||||||
|
self.titleStackView.translatesAutoresizingMaskIntoConstraints = false
|
||||||
|
|
||||||
self.navigationItem.largeTitleDisplayMode = .never
|
self.navigationItem.largeTitleDisplayMode = .never
|
||||||
|
|
||||||
|
|||||||
@@ -133,7 +133,7 @@ private extension FeaturedViewController
|
|||||||
|
|
||||||
let spacing = 10.0
|
let spacing = 10.0
|
||||||
let interSectionSpacing = 30.0
|
let interSectionSpacing = 30.0
|
||||||
let titleSize = NSCollectionLayoutSize(widthDimension: .estimated(100), heightDimension: .estimated(20))
|
let titleSize = NSCollectionLayoutSize(widthDimension: .estimated(100), heightDimension: .estimated(30))
|
||||||
|
|
||||||
switch section
|
switch section
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user