How to set width of child menu to be at minimum as parent..
How to set width of child menu to be at minimum as parent..
Is it possible to set the width of child menu to the width at least the same as the parent menu has?
If you have specified a width of a parent, then you could set the child that width. If you are saying you want the child menu to read what the parent menu is and then take that width, I think that might take a function. There is a reference guide to some menu functions but I don't know if any of those would help. http://milonic.com/menu_methods.php
Ruth
Ruth
Hi,
I don't know if anyone figured this out. I know you can set a minwidth of a menu, that's one of the properties, however, that wouldn't help unless you had some function that figured out the width of the parent item and then set the min width you wanted for the submenu that opened from it.
There is a post about finding the x coordinate. This had to do with positioning a submenu based on the main menu item when the main was in a frame and sub in another. I realize that's not what you want, however it talks about getting and setting positions and I believe it also has something about finding the width since you'd need that to set the position. I think....
viewtopic. ... 5479#15479
You are probably going to want to skim the answers by Andy and Kevin since they also talk about item references.
Maybe this will give you some ideas. The other option would be to set the width of each parent item, each item in the main horizontal menu, and then set it's corresponding vertical submenus to that as the minwidth.
Ruth
I don't know if anyone figured this out. I know you can set a minwidth of a menu, that's one of the properties, however, that wouldn't help unless you had some function that figured out the width of the parent item and then set the min width you wanted for the submenu that opened from it.
There is a post about finding the x coordinate. This had to do with positioning a submenu based on the main menu item when the main was in a frame and sub in another. I realize that's not what you want, however it talks about getting and setting positions and I believe it also has something about finding the width since you'd need that to set the position. I think....
viewtopic. ... 5479#15479
You are probably going to want to skim the answers by Andy and Kevin since they also talk about item references.
Maybe this will give you some ideas. The other option would be to set the width of each parent item, each item in the main horizontal menu, and then set it's corresponding vertical submenus to that as the minwidth.
Ruth