Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

OSX Incorrect width for headers and footers #136

Open
christoff-1992 opened this issue Feb 7, 2020 · 1 comment
Open

OSX Incorrect width for headers and footers #136

christoff-1992 opened this issue Feb 7, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@christoff-1992
Copy link
Collaborator

The headers and footers width are not displaying the correct width.

@christoff-1992 christoff-1992 added the bug Something isn't working label Feb 7, 2020
@argentounce
Copy link

It also happens in iOS. I found that if you comment headerReferenceSize it works as expected. Previously it was needed. Hope it helps

let l = VerticalBlueprintLayout(itemsPerRow: 1,
                                height: 160,
                                minimumInteritemSpacing: 20,
                                minimumLineSpacing: 20,
                                sectionInset: .zero,
                                stickyHeaders: true
)

//        l.headerReferenceSize = CGSize(width: 1, height: 60)
l.sectionInset = UIEdgeInsets(top: 20, left: 20, bottom: 20, right: 20)

return l

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants