gmoledina / GMGridView

A performant Grid-View for iOS (iPhone/iPad) that allows sorting of views with gestures (the user can move the items with his finger to sort them) and pinching/rotating/panning gestures allow the user to play with the view and toggle from the cellview to a fullsize display.
MIT License
2.3k stars 512 forks source link

Auto resizing Issue #163

Closed umairjt closed 11 years ago

umairjt commented 11 years ago

I am changing the size of cell when orientation changes, the autoresizing properties of inner elements of cell set in the xib are not behaving as expected. Even if size is not changed the autoresize elements behaves odd when first time orientation changes to Landscape. This does not happen when first time orientation changes to Portrait

umairjt commented 11 years ago

Resolved : Actually i forgot to set the UIViewAutoresizing GM GridViewCell. Now i have set the UIViewAutoresizing to UIViewAutoresizingFlexibleTopMargin | UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleRightMargin and its working perfectly