Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Meltdown on July 23, 2015, 09:43:10 PM
-
I'm using 3.9.0
I have a simple scene with a Panel, I drag the Control - Simple Text Box prefab from the Examples folder onto the panel.
If I adjust the collider on the TextBox prefab, either through adjusting the center or size values, or adjusting it with the edit collider button, as soon as I press play, the collider resets itself to the original position/size.
No matter what i try I cannot adjust it.
Any idea why this happens?
I've also tried breaking the prefab instance from the object, no luck.
-
use the widget "size" width/height values. the collider will always auto-adjust (if checked on the widget) to accommodate those values.
-
Yup, as devomage mentioned every widget has the "Auto-adjust collider" checkbox checked by default.