-
Notifications
You must be signed in to change notification settings - Fork 447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible to adjust cell offset #175
Comments
Absolutely: implement the -(CGRect)gridView:adjustCellFrame:withinGridCellFrame: method in your AQGridViewDelegate. That is passed the CGRect for the cell's default frame along with the CHRect of the logical bounding box within which it is by default centered. Assuming your shelf sits N pixels above the bottom of the grid, you can just adjust the default frame so it's bottom sits N pixels above the bottom of the bounding box. This is actually the exact same case for which the method was originally created: laying out books on the Kobo app's shelf view. Sent from my iPhone On 2012-11-02, at 11:51 AM, rassol notifications@github.com wrote:
|
Perfect! Thank you! |
Is there support for different sizes of cellFrames? |
Is it possible to adjust each individual cell's position?
I have a shelf background, and the items are not properly aligned to the shelves.
The cell items are of different sizes.
Thanks.
The text was updated successfully, but these errors were encountered: