Simbul / baker

The HTML5 ebook framework to publish interactive books & magazines on iPad & iPhone using simply open web standards
http://bakerframework.com
1.53k stars 378 forks source link

Baker 4.3 padding on Cells #1250

Closed AlmondFace closed 10 years ago

AlmondFace commented 10 years ago

Hi,

I was previously working with 4.2 of Baker and had managed to customise the collection view controller on iPhone and iPad but adding some methods such as

-(CGFloat)cellLineSpacing; -(CGFloat)cellItemSpacing; -(UIEdgeInsets)cellEdgeInsets;

. Ive just switched over to the new version 4.3 and have to work this out again as the layout method has changed for the grid.

I can see this in viewDidLoad accounts for the first 2 methods above: self.layout.minimumInteritemSpacing = 0; self.layout.minimumLineSpacing = 0;

But im trying to work out how to add a padding of 40 on the sides of the cells (cellEdgeInsets).

On the image below, the left image is what i currently have with the new version of Baker, on the right is the layout I achieved on my previous baker project and that which i am trying to workout in the new version.

Any help on how to do this would be amazing,

thanks

layout

folletto commented 10 years ago

Hello there,

This board is closed and kept available for historical reasons only, since the project moved to a better location with a new team. You can post any request you have here: https://github.com/bakerframework/baker/issues

Cheers!