Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Chaosgod_Espér on May 27, 2013, 12:55:26 PM

Title: Can´t get the "fit screen resolution" to work
Post by: Chaosgod_Espér on May 27, 2013, 12:55:26 PM
hi there...

i´ve created a simple Loading screen with the latest version of NGUI.
It contains
• background image (1920*1080)
• a small Loading Image (shown in a frame on top of the background)
• 3 labels to show text
• a slider as loading bar

All together looks like this on maximum resolution:
(http://www.imagesload.net/img/Loading_Screen1.jpg)
http://www.imagesload.net/img/Loading_Screen1.jpg (http://www.imagesload.net/img/Loading_Screen1.jpg)

and this is the hierarchy:
(http://www.imagesload.net/img/Unity_intern.jpg)
http://www.imagesload.net/img/Unity_intern.jpg (http://www.imagesload.net/img/Unity_intern.jpg)

My problem now - i worked myself through 5 tutorials. One sais i should deactivate something like an "automatic" option and setup anchors..etc (i´ve no "automatic" shown in any GUI object - dunno where to find this..), others are just.. annyoing short..  not good for beginners..
So..
How can i scale my whole GUI to fit the whole screen on any resolution from 1024*768 to 1920*1080?
UIStretch is just working for each widget itself - when i scale down the resolution - the whole positioning is going crazy... don´t let us speak about scaling :(

i really need help..
Title: Re: Can´t get the "fit screen resolution" to work
Post by: ArenMook on May 28, 2013, 02:09:43 AM
Select your UIRoot and change it to FixedSize, then watch this video: http://www.youtube.com/watch?v=XAeRXckXMMw