View Single Post
08/19/14, 10:06 AM   #8
merlight
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 671
Originally Posted by circonian View Post
GetExcludeFromResizeToFitExtents is false (but either way that wouldn't help, I dont think, because that still wouldn't make it BIGGER than the menu bar...so it can stick out around the edges from behind it)
Many BG, highlight, divider etc. controls in ZOS files have excludeFromResizeToFitExtents="true". If you want the menuBar resized to encompass it's children, and want BG anchored to the new size, then unless BG is excluded from the size computation, you have a chicken & egg problem.

Originally Posted by circonian View Post
This is a menuBarBg, it is all ready a child of the MenuBar...so are the buttons,
So it is all ready a sibling of the buttons, not a child of the buttons.
What I suggested was to reorganize it like this:
+ menuBar
++ menuBarButtonsContainer -- parent to buttons and only buttons, nothing else
++ menuBarBG -- anchor this to Container

Last edited by merlight : 08/19/14 at 10:08 AM.
  Reply With Quote