Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: flaengel on June 30, 2014, 11:54:55 AM

Title: UIRoot scaling on "Android Keyboard"
Post by: flaengel on June 30, 2014, 11:54:55 AM
Hi, Im using a UIRoot with fixed size...
But when the Android Keyboard apear the whole scene get's rescaled
Is there a way to prevent this, and still use the UIRoot as fixed size ?

Thanks

Title: Re: UIRoot scaling on "Android Keyboard"
Post by: ArenMook on July 01, 2014, 04:03:00 AM
Isn't that an OS and/or Unity option? Neither of my Android devices do this, for example (using default build values).
Title: Re: UIRoot scaling on "Android Keyboard"
Post by: flaengel on July 01, 2014, 11:50:43 AM
well thats an "OS" thing since the screen size changes when the virtual keyboard is shown ....
The this is, I don't need NGUI to keep resezing on all screen size changes, only when the first load is done for example.
Title: Re: UIRoot scaling on "Android Keyboard"
Post by: ArenMook on July 02, 2014, 03:58:48 AM
NGUI isn't resizing here. The camera's aspect ratio changes. This is basic 3D game engine functionality in action. When the aspect ratio changes, you see either more or less on the sides. In fact, if NGUI *was* resizing, then you wouldn't see that.
Title: Re: UIRoot scaling on "Android Keyboard"
Post by: flaengel on July 02, 2014, 07:59:29 AM
But is there a workaround this?
 :-\ :'(
Title: Re: UIRoot scaling on "Android Keyboard"
Post by: ArenMook on July 03, 2014, 03:49:46 AM
Well as I mentioned, it's an OS setting, so you need to look for an OS solution. I'm sure there is a way to set that somewhere. It's just not NGUI-related. If you had a 3D world there, it would also get extended around the edges.
Title: Re: UIRoot scaling on "Android Keyboard"
Post by: flaengel on July 03, 2014, 02:21:18 PM
I found a "workarround" is not quiet what I want, but will work for now...

If the status bar is hidden this behavior wont happen.