Open MatrixSenpai opened 6 years ago
Most elements (like UILabel) have an intrinsicContentSize. Is it possible to extend Neon to use this automatically?
UILabel
intrinsicContentSize
But it already does that. Just use AutoWidth or AutoHeight for the views that have an intrinsic size. E.g.: imageView.anchorToEdge(.top, padding: 20, width: AutoWidth, height: AutoHeight)
AutoWidth
AutoHeight
imageView.anchorToEdge(.top, padding: 20, width: AutoWidth, height: AutoHeight)
Most elements (like
UILabel
) have anintrinsicContentSize
. Is it possible to extend Neon to use this automatically?