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

Question - width variable #35

Open
diegommlima opened this issue Jun 6, 2014 · 5 comments
Open

Question - width variable #35

diegommlima opened this issue Jun 6, 2014 · 5 comments

Comments

@diegommlima
Copy link

Hey Man,
I am Brazilian and I appreciate your library
But I need an even greater customization. I need the cells to be flexible width.
You know the trouble from doing that?

I need more or less this:

| Content | more Content | short |
| short | large | medium | medium |

| s | large | more large |

@diegommlima
Copy link
Author

@dimitribouniol
Copy link
Member

This isn't exactly practical to do with MDSpreadView, and you are probably better off using UICollectionView. However, if you do want to use MDSpreadView, you can define a constant width (say, the width of one hour), and handle the individual time slots as custom views inside of a common hour cell, offset by however much you want.
Good Luck!

@diegommlima
Copy link
Author

Thanks for responding, UICollectionView do it quietly, but the performance is very bad to slide items horizontally.
I'm still studying and understanding your project. But if I can do with it will be very good, and I'll post the project here for you to see the result.
Anyway thanks.

@dimitribouniol
Copy link
Member

Good luck!

@golfiti
Copy link

golfiti commented Sep 21, 2015

How to define width each column or indexPath ?

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

3 participants