This repository has been archived by the owner on Oct 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 116
How to get real contentSize? #52
Comments
Did you mean the height of (overlapping) cards combined? |
|
Have you tried |
@gleue unfortunately, it's not public method. Also this method will always return self.collectionView.bounds
|
Oops -- didn't look at the code ;-) Sorry, then you'd probably have to determine it from your own version of |
@gleue right, I've made a workaround in TGLStackedLayout and TGLExposedLayout. It works for TGLExposedLayoutPinningModeNone.
Do you have a better solution? |
Elegant 👍 I don't have a better solution off the top of my head... Would have to think about it, but I am really busy at the moment, so it would take some time |
Great! Thanks! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
Thanks for such a great lib!
How to get real height of the content without filling and so on?
Here is an example but it doesn't work properly with you lib. Do you have any idea? @gleue
P.s. I'd like to use two instances of the lib on a page.
Regards,
The text was updated successfully, but these errors were encountered: