Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: daifan on October 05, 2016, 11:15:32 AM

Title: UIPanel's magenta edge in editor not display correctly
Post by: daifan on October 05, 2016, 11:15:32 AM
I set UIRoot to constrained at width 1080, height 1920, and set UIPanel clipping to none.
The magenta edge of the UIPanel is not displayed accordingly and still follow the size of editor view.
Wondering how it could be fixed? Thank you.
Title: Re: UIPanel's magenta edge in editor not display correctly
Post by: ArenMook on October 06, 2016, 06:01:45 AM
That's what magenta does -- it shows you the game view's size. The teal outline shows you the chosen dimensions.
Title: Re: UIPanel's magenta edge in editor not display correctly
Post by: daifan on October 09, 2016, 02:44:41 PM
I'm not sure. If I set an sprite to anchor to the parent panel, when make the editor view fullscreen, there is a clear shape change in the sprite, which should not be there if I set UIRoot's mode to "Constrained" with content width to 1080, height to 1920.
Please check the screenshot.
Title: Re: UIPanel's magenta edge in editor not display correctly
Post by: ArenMook on October 11, 2016, 10:01:28 AM
In the 2nd pic, you have no game view visible. When there is no game view visible, there is no way to tell its size on Mac OSX -- it's a recent Unity bug. This doesn't affect run-time apps.