Author Topic: (3.0.9 f3) UIPanel - anchors section greyed out  (Read 5356 times)

chufraise

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 8
    • View Profile
(3.0.9 f3) UIPanel - anchors section greyed out
« 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!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: (3.0.9 f3) UIPanel - anchors section greyed out
« Reply #1 on: January 22, 2014, 04:29:30 AM »
Because unless you enable clipping, the panel has no rect.

chufraise

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 8
    • View Profile
Re: (3.0.9 f3) UIPanel - anchors section greyed out
« Reply #2 on: January 22, 2014, 04:34:30 AM »
Ah silly me, thanks!