Comments (8)
Yeah, that would be great! :)
from gmgridview.
bug exists in horizontal paging when the centerGrid is set to NO.
I won't be able to scroll to the last page fully.
In fact, this was caused by contentSize computing.
from gmgridview.
@bobbypage I'm not sure I understand what's need to be done in order to achieve the desired result. Doesn't the grid already support this ?
@rickytan are you still experiencing the bug ?
from gmgridview.
No, I have fixed that. @gmoledina .
Modify the code of the implementation of the method -(void)rebaseWithItemCount:(NSInteger)count insideOfBounds:(CGRect)bounds of Horizontal Paged Strategy in GMGridViewLayouStrategies.m, change the last line which compute the _contentSize to:
_contentSize = CGSizeMake( self.gridBounds.size.width * self.numberOfPages, onePageSize.height );
from gmgridview.
@rickytan are you using the latest code version ? I think this was fixed a few weeks ago. The code has changed and _contentSize isn't set in the rebase method directly.
from gmgridview.
I used the code over a month a ago, so I faced the problem.
And thanks for your hard working on this component, it's really nice!
from gmgridview.
@gmoledina I don't think that the grid view supports this right now. I could get it set up to show one full page at a time, but could didn't figure out on how to show the previews on the left and right of the view. If this is already implemented it would be great to add it as a layout strategy and include a demo as this is a very common task with UIScrollView.
BTW, GMGridView rocks, it works really well and has saved me a lot of time. Thanks!
from gmgridview.
I am also trying to get the preview for the case, that a page size should be smaller than the bounds of the gridview.
Unfortunately i always get a gap between pages, when the gridview for example is half a row larger than the size of the pages i want to slide through.
I tried reducing the pagesize, but that did only result in a white gap.
I thought i must set the page-size in rectForPoint:
but that method is only called once and seems to have no further influence.
I would really be glad, if someone could push me in the right direction.
It shouldn't be so hard to make the displayed content larger than the page-size, but somehow I'm to blind to see it :(
from gmgridview.
Related Issues (20)
- How can items drag in both the directions Left to Right and Right to Left ?
- GMGridView reloadData does not refresh view
- Archives has does not contain a single–bundle application or contains multiple products
- iOS 7 Horizontal strategy content size HOT 2
- No document about how to use this control
- if cell width is quite different, grid will show wrong cell when rotating
- ios 5.1 and lower issue HOT 1
- Grid cell want to draw from top HOT 1
- scrollToObjectAtIndex is not working properly when paging is enabled HOT 1
- memory problem - not released/reclaimed HOT 1
- another mem issue
- GMGrid Cell Alignment Issue
- Image stuck on screen
- Sort Help required!
- gridview.edit=yes,how to use sortingdelegate?
- index = -2147483648
- Maybe you can join a group function
- Button not working in subview GMGridviewCell
- Image link in README.md is broken
- animation repeat count doesn't work in GMGridViewCell
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gmgridview.