Support => NGUI 3 Support => Topic started by: waheed11 on February 11, 2014, 05:48:43 AM
Title: UI in windows phone 8 resolution screens
Post by: waheed11 on February 11, 2014, 05:48:43 AM
Hello,
I tried to use NGUI practices for creating UI in different resolution screens , and everything is fine in mobile/tablet android and mobile/tablet iOS , but with windows phone 8 doesn't work , the ratio and sizes of UI objects are not accurate.
Please how to keep ratio and sizes of UI objects working correctly in windows phone 8 as well I've attached a screenshot from the windows phone 8 to show how the UI elements are too small Thank you ,,, Waheed11
Title: Re: UI in windows phone 8 resolution screens
Post by: ArenMook on February 11, 2014, 08:16:10 PM
Your screenshot is missing... Also, what version of Unity and NGUI are you using?
Title: Re: UI in windows phone 8 resolution screens
Post by: waheed11 on February 12, 2014, 12:53:47 PM
Thank you ArenMook for your reply ,
I've attached the screenshot
Unity3d version : 4.3
NGUI version : 3.0.9 f1
Title: Re: UI in windows phone 8 resolution screens
Post by: ArenMook on February 13, 2014, 12:51:32 AM
Please update to the latest version first.
Title: Re: UI in windows phone 8 resolution screens
Post by: waheed11 on February 14, 2014, 02:14:27 AM
Thank you, I updated to the last version v3.4.9 , but the problem is same, Please , I need to solve this problem in order to complete the project
Thank you
Title: Re: UI in windows phone 8 resolution screens
Post by: ArenMook on February 14, 2014, 05:07:48 AM
So how should it look like?
Title: Re: UI in windows phone 8 resolution screens
Post by: waheed11 on February 14, 2014, 08:40:16 AM
It should look like the attached screenshot
Thanks
Title: Re: UI in windows phone 8 resolution screens
Post by: ArenMook on February 15, 2014, 01:00:35 AM
So the screen size is different. If UIRoot is set to Pixel Perfect, then devices that have a bigger screen will have smaller looking UI, because it's in pixels.
Set the UIRoot to Fixed Size and it will keep the same size regardless of screen resolution.
Title: Re: UI in windows phone 8 resolution screens
Post by: waheed11 on February 15, 2014, 02:01:57 PM
Thank you for your answer ,
I used "FixedSizeOnMobiles" and it works fine on all Devices ios/android (phones/tablets) except Windows Phone 8. Do I need to change to "FixedSize" , if so do I need to re-test it again with all devices ?
Title: Re: UI in windows phone 8 resolution screens
Post by: ArenMook on February 16, 2014, 02:17:10 AM
Ah, got it... there is a missing "if windows phone 8" check. I'll add it in, thanks.