Open ITzhao opened 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"
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"