Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: chufraise on January 22, 2014, 03:55:48 AM

Title: (3.0.9 f3) UIPanel - anchors section greyed out
Post by: chufraise on January 22, 2014, 03:55:48 AM
Hey,
Just wondering why the anchors section of the UIPanel component is greyed out? I used to anchor panels, but I guess there's a better practice for that now?

I have a bunch of buttons that I want to anchor at the top left. Before in ye olde days, I just put the widgets in a UIPanel parent. But should I play it differently now? Empty UIWidget as parent instead?

Thanks!
Title: Re: (3.0.9 f3) UIPanel - anchors section greyed out
Post by: ArenMook on January 22, 2014, 04:29:30 AM
Because unless you enable clipping, the panel has no rect.
Title: Re: (3.0.9 f3) UIPanel - anchors section greyed out
Post by: chufraise on January 22, 2014, 04:34:30 AM
Ah silly me, thanks!