only_a_ptr
11-06-2013 17:01:40
Hello.
I've just downloaded and built MyGUI 3.2.0 stable and now I'm learning to work with LayoutEditor.
I have a question that doesn't seem to be explained anywhere: How to create hierarchical widgets that don't overlap? Specifically menu bars and hierarchy of popup menus.
I noticed that new widgets become children of another widget if the cursor begins to paint them over an existing widget (when you paint a textbox over a window, for example). However, when you're making a popup menu, you don't want it to overlap it's parent MenuItem - you want it to be under it, so you can't use the "paint-over" trick mentioned before. Is there any other way to do it? I opened MyGUI/Media/Tools/LayoutEditor/MainMenuControl.layout and tried to figure out the settings, but found nothing.
I could just go on by creating separate popup menus and then modifying the XML, but I wonder if I need to do it that way.
I've just downloaded and built MyGUI 3.2.0 stable and now I'm learning to work with LayoutEditor.
I have a question that doesn't seem to be explained anywhere: How to create hierarchical widgets that don't overlap? Specifically menu bars and hierarchy of popup menus.
I noticed that new widgets become children of another widget if the cursor begins to paint them over an existing widget (when you paint a textbox over a window, for example). However, when you're making a popup menu, you don't want it to overlap it's parent MenuItem - you want it to be under it, so you can't use the "paint-over" trick mentioned before. Is there any other way to do it? I opened MyGUI/Media/Tools/LayoutEditor/MainMenuControl.layout and tried to figure out the settings, but found nothing.
I could just go on by creating separate popup menus and then modifying the XML, but I wonder if I need to do it that way.