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 JaredHD · Mar 27, 2017 at 02:11 PM · uicanvasresolutionscale

UI scaling issues

So I've designed a Timetable to help me at school with my subjects. I released it to a bunch of my friends but I've been having problems with the UI not scaling correctly. On the canvas scaler I've got the reference resolution set to 1920x1080alt text That scales perfectly on my phone (S6) which is 2560x1440. Now as soon as i set it lower to maybe 1280x800 there are problems (As shown in the picture).alt text There is extra that appears at the bottom.

Now if I set the canvas Scaler to match width or height and set that to 0.5 it fixes it at the bottom, but the first and last column go over the sides of the screen.

Extra info: I'm using the Grid Layout group to sort everything. Should i disable that when I build the app or leave it on? I've also set the Grid Layout Group with Child alignment to "Middle Center" Which kinda evens out the top and bottom (Not shown in the picture above) but i would prefer it if it was the same as the original picture.

2560x1440.png (257.1 kB)
1280x800.png (297.8 kB)
Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by JaredHD · Mar 27, 2017 at 03:52 PM

So I figured out that it was the Grid Layout that was messing with everything. I followed this video and used that script to set the cells width and height. I did leave the grid layout on though because i need it to adjust the cells to that size.

Thanks sohail_786 for your help but it took me a while to figure out that it wasn't the canvas scaler.

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 rounix_unity · Feb 28, 2020 at 09:23 AM 0
Share

I have the same exact problem and turns out this guy's channel is deleted :(

avatar image
2

Answer by SohailBukhari · Mar 27, 2017 at 02:22 PM

@username

There may a certain reasons

  1. Make Sure that your canvas ui scale mode is select to "Scale With Screen Size" and your anchors are set properly.

  2. Set Screen Match Mode to "Expand"

  3. Set Reference Pixel Per unit to 100

Reference image


capture123.png (44.0 kB)
capture123.png (47.9 kB)
Comment
Add comment · Show 2 · 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 JaredHD · Mar 27, 2017 at 02:58 PM 0
Share

It still didn't work. $$anonymous$$ine was very similar to your setup but ins$$anonymous$$d my reference resolution was 1920x1080 and it was set to match at 0 rather than expand.

avatar image SohailBukhari · Mar 27, 2017 at 03:01 PM 0
Share

Check your objects are under a panel in canvas. $$anonymous$$ake sure Timetable is stretch.

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

107 People are following this question.

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

Related Questions

Canvas Scaler settings 0 Answers

Scaling problem android 1 Answer

Move UI object in Canvas with different resolutions 1 Answer

Layout error after crash has effected canvas scaling 1 Answer

Responsive Canvas - Panel inside not Fitting 0 Answers


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