mutualmobile / MMSpreadsheetView

MIT License
193 stars 34 forks source link

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

Open twentyseven opened 10 years ago

jeffla commented 10 years ago

@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 commented 10 years ago

wish seconded

core-code commented 10 years ago

this makes it work for me:

http://pastebin.com/WdykRR5r

dhoerl commented 9 years ago

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