Is it possible to add blank space to a “toolbar menu”?
What about a break line (so that categories can be made within the dropdown)?
Cheers
Is it possible to add blank space to a “toolbar menu”?
What about a break line (so that categories can be made within the dropdown)?
Cheers
and is it also possible to do submenus?
I don’t know about blank spaces in the toolbar but sub-menus are easy enough.
Add a Toolbar Menu component and list the components you want in it. Then create another Toolbar Menu and list the original Toolbar Menu in it. This will nest your first toolbar inside the second one.
Basically, you can nest toolbar menus inside other toolbar menus to your heart’s content.
Cool thanks (that’s what I’d hoped).
I’ve made a sort of blank space, by creating a component, and leaving all the details blank or just a " ". This works well enough in the main menu, but when I start a game, the item causes an error message to appear. I can ignore the error, and carry on as normal, but it is annoying, so if there was another way of doing it, without creating an error, that would be helpful.
Try leaving the button name blank, but using a small transparent icon for the button image.
Brent.
Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org
Post generated using Mail2Forum (mail2forum.com)
Thus spake “ukdane”:
It sounds like what you’re trying to do is group related items?
I’m not saying that there’s no way to do it now, but if there isn’t
then this is something I intend to work on eventually. The toolbar
code does not produce beautiful toolbars at present, and it bugs me.
–
J.
Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org
Post generated using Mail2Forum (mail2forum.com)
I know this is 16 years ago, but i would love this functionality. The button bar/menubar is super hard to format. I would love a spacer which should just ask pixels and a color which would leave that space there. It should also have a divider which as default would be a space with a background color, like black. When you inserted it it would make that space the color of your choice. You should be able to add dto spacers in a row so that you could put black then red and some buttons, then red then black. The visual effect shoud be some buttons ended by black and some buttons bounded ny red, then another set of buttons with black as the border.
This would be two spacers before and two after with the colors reversed
Thera are lots more things the button bars need but this would make a great start