# Toolbar Menu Options

**URL:** <https://forum.vassalengine.org/t/toolbar-menu-options/556>\
**Category:** Module Design\
**Created:** [April 29, 2008, 8:19pm UTC](https://forum.vassalengine.org/t/toolbar-menu-options/556 "2008-04-29T20:19:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ukdane](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/ukdane/32/2572_2.png) [@ukdane](https://forum.vassalengine.org/u/ukdane)\
**Post date:** [April 29, 2008, 8:19pm UTC](https://forum.vassalengine.org/t/toolbar-menu-options/556/1 "2008-04-29T20:19:46Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ukdane](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/ukdane/32/2572_2.png) [@ukdane](https://forum.vassalengine.org/u/ukdane)\
**Post date:** [April 29, 2008, 8:29pm UTC](https://forum.vassalengine.org/t/toolbar-menu-options/556/2 "2008-04-29T20:29:23Z")

</div>

and is it also possible to do submenus?

---

<div class="post-metadata">

**Author:** ![DrNostromo](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/drnostromo/32/12593_2.png) [@DrNostromo](https://forum.vassalengine.org/u/DrNostromo)\
**Post date:** [April 30, 2008, 2:27am UTC](https://forum.vassalengine.org/t/toolbar-menu-options/556/3 "2008-04-30T02:27:42Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ukdane](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/ukdane/32/2572_2.png) [@ukdane](https://forum.vassalengine.org/u/ukdane)\
**Post date:** [April 30, 2008, 6:53am UTC](https://forum.vassalengine.org/t/toolbar-menu-options/556/4 "2008-04-30T06:53:28Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Brent\_Easton](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/brent_easton/32/10_2.png) [@Brent\_Easton](https://forum.vassalengine.org/u/Brent_Easton)\
**Post date:** [April 30, 2008, 6:59am UTC](https://forum.vassalengine.org/t/toolbar-menu-options/556/5 "2008-04-30T06:59:26Z")

</div>

> [@](#):
>
> 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](mailto:Messages@forums.vassalengine.org)  
[forums.vassalengine.org/mailman/ … engine.org](http://forums.vassalengine.org/mailman/listinfo/messages_forums.vassalengine.org)

Post generated using Mail2Forum ([mail2forum.com](http://www.mail2forum.com))

---

<div class="post-metadata">

**Author:** ![uckelman](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/uckelman/32/10020_2.png) [@uckelman](https://forum.vassalengine.org/u/uckelman)\
**Post date:** [April 30, 2008, 7:57am UTC](https://forum.vassalengine.org/t/toolbar-menu-options/556/6 "2008-04-30T07:57:09Z")

</div>

Thus spake “ukdane”:

> [@](#):
>
> 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 wh  
> en I start a game, the item causes an error message to appear. I can ignore t  
> he error, and carry on as normal, but it is annoying, so if there was anothe  
> r way of doing it, without creating an error, that would be helpful.

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](mailto:Messages@forums.vassalengine.org)  
[forums.vassalengine.org/mailman/ … engine.org](http://forums.vassalengine.org/mailman/listinfo/messages_forums.vassalengine.org)

Post generated using Mail2Forum ([mail2forum.com](http://www.mail2forum.com))

---

<div class="post-metadata">

**Author:** ![Matt](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/matt/32/9045_2.png) [@Matt](https://forum.vassalengine.org/u/Matt)\
**Post date:** [September 23, 2024, 7:23pm UTC](https://forum.vassalengine.org/t/toolbar-menu-options/556/7 "2024-09-23T19:23:56Z")

</div>

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.

 ![vassal forum spacer](https://forum.vassalengine.org/uploads/default/original/2X/0/0b736eb7f462ba106df3e6aeb3840d24a48981f1.png)

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
