HAPaperViewController icon indicating copy to clipboard operation
HAPaperViewController copied to clipboard

Resize / scale question

Open johannwilfling opened this issue 10 years ago • 0 comments

I'm playing around with the transition of the CollectionViewLayout of the example and couldn't figure out how to autoresize the content of the cell between the small and large layout.

E.g. I have an UILabel within the CollectionViewCell which should be half the width of the cell. When the transition to the large layout is finished, the label should be also half of the cell, but with a larger font size (or resized).

Use autolayout here or scale the contentView with CGAffineTransformMakeScale?

Any advice would be helpful .. ;)

johannwilfling avatar Mar 22 '14 13:03 johannwilfling