Originally Posted by circonian
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
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