#Vertical Layout Group Headache

1 messages · Page 1 of 1 (latest)

high osprey
#

Hello! I am trying to wrap my head around how to implement this UI feature. I am trying to recreate a system window where that there is a menu bar and then it has the content below it.

I am trying to make the fixed content height and width affect the main body of the window.

#

Green is the content inside

#

I've tried vertical layout group but it affects the header of the window (the gray)

steel fulcrum
#

Window parent

  • Window title bar child, set to stretch width if window will resize
  • file menu child, set to stretch width if window will resize
  • content child, set to stretch all corners, top will be -X from the top (whatever the title and file menu add up to)
high osprey
#

Sorry I should have uploaded a picture of the hierarchy

#

Where does the vertical layout group go and what needs to be added to the children?