Correct way to create hierarchical menus in toolbar?
Posted: Mon May 01, 2023 9:31 pm
We're using the custom version of oXygen for web provided as part of the Ixiasoft product. By taking a few things I had done in oXygen standalone, I was able to make changes to the framework. However, I'm confused about one thing, that is, how do I change things so that the number.xxxx values are all grouped in the toolbar? These actions put them as individual items which I don't want. It it simply a matter for creating a parent item where all the options are then children of that item?
Current:
What I want is all the number.any, number.binary, and number.hex all available in the toolbar but something like this (which may not work, but illustrates what I want).
Thanks!
Wayne
Current:
Code: Select all
<toolbar>
<separator/>
<addAction id="insert.note"/>
<addAction id="number.any"/>
<addAction id="number.binary"/>
<addAction id="number.hex"/>
<removeAction id="bold"/>
<removeAction id="underline"/>
<removeAction id="italic"/>
</toolbar>
Code: Select all
<toolbar>
<separator/>
<addAction id="insert.note"/>
<addAction id="number">
<addAction id="number.any"/>
<addAction id="number.binary"/>
<addAction id="number.hex"/>
</addAction>
<removeAction id="bold"/>
<removeAction id="underline"/>
<removeAction id="italic"/>
</toolbar>
Wayne