Page 1 of 1

Customize "collapse icons" style, size and position

Posted: Thu Dec 10, 2015 12:27 pm
by Johann
Hello everyone,

I am using the last Oxygen SDK (17.1.0) and I would like to customize the collapse icons in the Author View. Is there a way to change the "arrow" icons used or maybe their size or position ?
The only related interface I found is ro.sync.exml.workspace.api.editor.page.author.fold.AuthorFoldManager but I cannot do what I want with it.

Thank you for your help,

Johann

Re: Customize "collapse icons" style, size and position

Posted: Thu Dec 10, 2015 2:28 pm
by Radu
Hi Johann,

Sorry but we do not have API which would allow you to customize the way in which the fold icon looks like or is placed.
Maybe a possibility would be not to use our folding support at all.
You can add form control buttons in the Author mode which can be associated to Author actions.
An Author Action can use a predefined operation to toggle a pseudo class on a certain element:

https://www.oxygenxml.com/doc/versions/ ... ditor.html
https://www.oxygenxml.com/doc/versions/ ... asses.html
https://www.oxygenxml.com/InstData/Edit ... ation.html

Regards,
Radu