Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ContentInset to ScrollView / CollectionView / Calendar? #1429

Open
vitaliichernysh opened this issue Apr 12, 2024 · 0 comments
Open

ContentInset to ScrollView / CollectionView / Calendar? #1429

vitaliichernysh opened this issue Apr 12, 2024 · 0 comments

Comments

@vitaliichernysh
Copy link

vitaliichernysh commented Apr 12, 2024

Hello,

I have the same question as this one.

I need to add some extra left and right padding to my Calendar by writing the following:

self.calendar.collectionView.contentInset = UIEdgeInsets(top: 0.0, left: 16.0, bottom: 0.0, right: 16.0)

But it doesn't take any effect. Please, help me, it's crucial for me to have horizontal insets by design.

@vitaliichernysh vitaliichernysh changed the title ContentInset to scrollview / collectionview / calendar? ContentInset to ScrollView / CollectionView / Calendar? Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant