Home telegram - listViewItemNodeLayout
Post
Cancel

telegram - listViewItemNodeLayout

ListViewItemNodeLayout

struct ListViewItemNodeLayout

1
2
3
4
5
6
public let contentSize: CGSize
public let insets: UIEdgeInsets

public var size: CGSize {
    return CGSize(width: self.contentSize.width + self.insets.left + self.insets.right, height: self.contentSize.height + self.insets.top + self.insets.bottom)
}
This post is licensed under CC BY 4.0 by the author.