Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by jade1209 · Apr 10, 2017 at 06:56 PM · unity 5uiunity5ui imagescrollview

Scroll Rect with Grid Layout not working properly.

alt text

This is what I got. As you can see the image, the top and the bottom rows are not display as full image. How can I fix this?

Note: The scroll rect is set to "clamp" and I've already drag it to the top. When I drag to the bottom, the result is the same.

1.png (90.0 kB)
Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image RobAnthem · Apr 10, 2017 at 09:52 PM 0
Share

Are you using a content size fitter with it?

avatar image jade1209 · Apr 11, 2017 at 06:10 AM 0
Share

Yes, I did. The structure is Group1 (with Scroll Rect, Image and $$anonymous$$ask) -> Group2 (with content size fitter set both width and height to preferred size and grid layout) -> All the items

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Cuttlas-U · Apr 11, 2017 at 08:32 AM

Hi; i suggest not to use grid layout as i never get out with these bugs;

even if u manage to solve this there is a worse problem that in different phone and resolutions they don't look the same as u see here ;

I always manage to write a script my self to set the positions and distance between the images;

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image jade1209 · Apr 11, 2017 at 12:42 PM 0
Share

Hi, I've tried it without grid layout and I cannot even scroll down to the lowest rows. I've written the script that position between image but it stuck at the scrolling problem.

avatar image
1

Answer by zolutr · Apr 11, 2017 at 01:34 PM

unity layout system is not the best, even if you fix this it will probably be another problems in diferent phones, you are probably better writing some script yourself

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image jade1209 · Apr 11, 2017 at 01:49 PM 0
Share

Hi zolutr, I've remove the grid layout but scroll rect don't work. Should I continue using scroll rect or research on writing the new scroll script myself?

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to match UI Image size with sprite size at runtime? 2 Answers

why a gui image is rendered white on ios ? 0 Answers

Performance issue with ScrollRect.LateUpdate() 1 Answer

Scrollview Without Canvas 1 Answer

Problem with text mesh pro after updating to unity 2018.2 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges