Author Topic: Anchoring one side disables that dimension for the widget  (Read 4969 times)

sintua

  • Jr. Member
  • **
  • Thank You
  • -Given: 7
  • -Receive: 0
  • Posts: 63
    • View Profile
Anchoring one side disables that dimension for the widget
« on: January 08, 2014, 11:35:55 PM »
Say I want to make a bar that runs along the top of the screen. I anchor the left and right sides to UIRoot, and it stretches across. Now, if I anchor the top to UIRoot, it disables the vertical dimension input, effectively locking the widget at whatever height it had before setting the top anchor.

This can be worked with by setting the bottom anchor to the target's top, then setting the desired height + any offset on the Top Anchor, but I'm guessing this isnt "as intended"?

I expected the dimension input to stay available with 0 or 1 anchors, disabled if I set anchors for both top/bottom. (the same issue for left/right)

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Anchoring one side disables that dimension for the widget
« Reply #1 on: January 09, 2014, 07:26:36 PM »
Inspector should be locked out, but you should still be able to drag the handles around in the scene view, adjusting it visually same as before -- whether it's anchored or not.