I'm using a UIButton with a scale tween as a popup message box that scales in from the center of the screen. I have it attached to my 2D UICamera tree and it's not enabled by default. When the player completes a level, my trigger enables it recursively and it grows in with the message displayed. I have a UIStretch attached to the background, and the label. Everything works well except one crucial piece. The collider on the button lives one level above the background and label and is not scaled with the two. If I put a UIStretch on the parent node of the UIButton, then the label text and background are blown way out of proportion. I'm using a button to simulate the textbox because I want the user to click to dismiss it (and that part works fine too when the tiny collider is hit). What is a better way to approach this? Should I remove the default collider and place one on the background sprite? Or, should I create a new UI script and start from scratch? I'd like to stick with the tools already available in NGUI if possible. Thanks.
Regards,
Joseph