Skip to content
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

Thank you for awesome work. But how can I customise to have different width for each column? #10

Open
twentyseven opened this issue Dec 27, 2013 · 4 comments

Comments

@twentyseven
Copy link

No description provided.

@jeffla
Copy link
Contributor

jeffla commented Dec 31, 2013

@twentyseven the view is designed for all columns to be the same width. If you'd like to experiment, I'd suggest looking at a way to send the widths to MMGridLayout as this is what controls the widths. Also, you may want to get it working in a generic UICollectionView first to limit the difficulty.

@core-code
Copy link

wish seconded

@core-code
Copy link

this makes it work for me:

http://pastebin.com/WdykRR5r

@dhoerl
Copy link

dhoerl commented Aug 26, 2015

Ditto that this is a fantastic project!

I took the (partial) patch above and added it to my fork, and made the demo project work with it (variable widths) using Xcode 7b6. Also added labels to each layout object to assist in debugging along with the fix for the CALayout crash due to exact dimensions.

dhoerl/MMSpreadsheetView

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants