-
Notifications
You must be signed in to change notification settings - Fork 73
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
Add Item into Views #22
Comments
I guess this issue relates to the constraints you add to your product image view. What does |
Have you tried the horizontalScrollView.addItem() to your custom views?? Because it didn't work. |
@indrac it works well for me, the screenshots in Readme is from my personal app. I guess you didn't add enough constraints for your image view, as I can see, you only add width and height constraint, you will also need the position constraints for it. And you also add constraints before adding it to super view, which is wrong. You should add your |
I try to customize my views inside horizontalScrollView, but the item only appear on once, not completely iterate. Look like this :
I used this code :
The text was updated successfully, but these errors were encountered: