Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: xzzyhts1 on March 16, 2015, 09:15:17 PM

Title: ngui didn't fit screen on android
Post by: xzzyhts1 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
Title: Re: ngui didn't fit screen on android
Post by: xzzyhts1 on March 16, 2015, 09:19:19 PM
settings
(http://i3.tietuku.com/993987f9c5afd2e4.png)
Title: Re: ngui didn't fit screen on android
Post by: ArenMook 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.
Title: Re: ngui didn't fit screen on android
Post by: xzzyhts1 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
Title: Re: ngui didn't fit screen on android
Post by: xzzyhts1 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?
Title: Re: ngui didn't fit screen on android
Post by: ArenMook on March 19, 2015, 06:17:31 AM
Unity probably broke something.