Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: notehaha on August 13, 2014, 11:17:41 AM
-
Hi Tasharen team,
I have searched for a topic of 'Keep visible' issue. I saw only some but not one of mine. so pls allow me to tell what I found.
I do use UIDragObject on my UIPanel. I prepared everything set includes a rect of UIWidget. Once, I run-play my game, it works correctly BUT... only when I ports apk to my SAMSUNG TAB S device, the panel which contains UIdragable object does not spring back in screen.
again. my app works fine on Game view.
my first assumption is my UIRoot setting on Maximum Height does not match my device's screen resolution (2560px) so that I had changed it. Unfortunately not a luck.
please advice what should i do
-
You can actually change the root to manual height and specify the same screen height as your device if you want to test it properly. I'm not sure what would cause this issue in your case though. Have you tried printing the values it calculates?
-
:D
Once i change my UIRoot Manual height to fit my device's height. the 'keep visible' work nicely. previously i only set minimum height.
BUT !! you guys.
does it means if any game is set the Manual Height lower than user's device height. this 'keep visible' feature does not work ??
-
Manual height works everywhere. It basically ignores device's height and uses a fixed value.
Minimum height is for pixel-perfect UI. If the height is below that value, it's as if you had manual height instead.