Dashboards & Visualizations

can we align all the form inputs to a single line ?

rakesh_498115
Motivator

Hi..

In Form Searchs Can we align all the form input elements in to a single line ?? If so How can we do that ??

Please help..

Tags (2)
0 Karma

ranjyotiprakash
Communicator

Hi rakesh_498115,
use "float : left ; " in your CSS file !!

for example,
to make the time-range picker and drop-down in the same line you cab use if they are in mainSearchControls layout panel then ,

.mainSearchControls .SearchSelectLister,
.mainSearchControls .TimeRangePicker {
    float: left;
}

will do what you want.

Cheers,

MHibbin
Influencer

The CSS file referenced here, would typically mean "application.css" located in "$SPLUNK_HOME/etc/apps/<yourApp>/appserver/static/"

0 Karma

MHibbin
Influencer

Although this would help put them on one line, you should also use margins, paddings and widths, as depending on you inputs, they will not all be the same size, some form inputs may not require as much space as others, etc. ... hence my link 🙂

0 Karma

MHibbin
Influencer

rakesh_498115,

please see the following link...

http://splunk-base.splunk.com/answers/8223/how-to-arrange-inputs-on-a-form

basically you need to create/edit a CSS file to arrange the inputs.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...