Dashboards & Visualizations

Inserting whitespace in an app's nav menu?

ftk
Motivator

I want to have some whitespace between some of my menu items in the nav of my app. I would like something along the lines of this:

Menu1   Menu2   Menu3                 Menu4

In my nav definition XML I have tried using a <divider /> between my </collection> <collection>, but this only adds another menu titled "------" to the nav. Using &nbsp; makes Splunk complain about invalid XML.

How can I accomplish this?

0 Karma
1 Solution

John_Mark
Splunk Employee
Splunk Employee

I found this link - does it help?

http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200406.mbox/%3C40C5E61C.9040304@hotma...

From that link:

Line Feed           &#xA;
Carriage Return     &#xD;
space character     &#x20;
Non-breaking space  &#xA0;

View solution in original post

John_Mark
Splunk Employee
Splunk Employee

I found this link - does it help?

http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200406.mbox/%3C40C5E61C.9040304@hotma...

From that link:

Line Feed           &#xA;
Carriage Return     &#xD;
space character     &#x20;
Non-breaking space  &#xA0;

ftk
Motivator

Using &#xA0; in front of the menu name (Menu4 in my example) works very well. Thanks!

0 Karma

araitz
Splunk Employee
Splunk Employee

You should probably use CSS for this rather than XML.

ftk
Motivator

I agree -- may yet switch to that.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...