Author Topic: ngui didn't fit screen on android  (Read 4254 times)

xzzyhts1

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
ngui didn't fit screen on android
« on: March 16, 2015, 09:15:17 PM »
NGUI version  3.7.7 unity 4.6 android device resolution 1280 * 720
it didn't fit screen on android
but i use the same settings and export an apk by unity 4.3. it works perfect.

here is the uiroot settings

xzzyhts1

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
Re: ngui didn't fit screen on android
« Reply #1 on: March 16, 2015, 09:19:19 PM »
settings
« Last Edit: March 16, 2015, 09:27:57 PM by xzzyhts1 »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: ngui didn't fit screen on android
« Reply #2 on: March 16, 2015, 09:30:23 PM »
960/540=1.5
1280/720=1.778

They are different aspect ratios. That said, since you chose "fit" for both, it should fit fine. You said it worked fine in 4.3. What version are you using now? Recommended Unity version for NGUI is 4.5.5.

xzzyhts1

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
Re: ngui didn't fit screen on android
« Reply #3 on: March 16, 2015, 09:35:27 PM »
960/540=1.5
1280/720=1.778

They are different aspect ratios. That said, since you chose "fit" for both, it should fit fine. You said it worked fine in 4.3. What version are you using now? Recommended Unity version for NGUI is 4.5.5.

i use 4.6.3 now any other advice? thx

xzzyhts1

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
Re: ngui didn't fit screen on android
« Reply #4 on: March 16, 2015, 09:39:53 PM »
960/540=1.5
1280/720=1.778

They are different aspect ratios. That said, since you chose "fit" for both, it should fit fine. You said it worked fine in 4.3. What version are you using now? Recommended Unity version for NGUI is 4.5.5.

i try it on unity4.5.5 it's perfect but want to know why different on 4.6 and 4.5?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: ngui didn't fit screen on android
« Reply #5 on: March 19, 2015, 06:17:31 AM »
Unity probably broke something.