mischa-hildebrand / AlignedCollectionViewFlowLayout

A collection view layout that gives you control over the horizontal and vertical alignment of the cells.
MIT License
1.28k stars 202 forks source link

ask for help #38

Open ITzhao opened 1 year ago

ITzhao commented 1 year ago

let layout = AlignedCollectionViewFlowLayout(horizontalAlignment: .left, verticalAlignment: .top) layout.minimumLineSpacing = 10 layout.minimumInteritemSpacing = 10 layout.sectionInset = UIEdgeInsets(top: 20, left: 10, bottom: 20, right: 10) layout.estimatedItemSize = CGSize(width: 100, height: 40)

When the content is too long for the screen,"cell" display error; I want to process as ellipsis style "xxxx...xxxx"