Dashboards & Visualizations

Link Switcher Width

Builder

Hi there,

How does one change the width of an input on a form? I want to edit the default size to display my text labels for the link switcher tabs correctly.

Thanks

1 Solution

Builder

Sure did.. I edited the xml to look like this:

Security Continuous Monitoring - High Level Metrics

<input type="link" token="unused" id="resized_input" searchWhenChanged="true">

"form stylesheet" references the application.css which has this at the bottom of it:

#resized_input {
 width: 250px;
}

That should do the trick..

View solution in original post

Builder

Sure did.. I edited the xml to look like this:

Security Continuous Monitoring - High Level Metrics

<input type="link" token="unused" id="resized_input" searchWhenChanged="true">

"form stylesheet" references the application.css which has this at the bottom of it:

#resized_input {
 width: 250px;
}

That should do the trick..

View solution in original post

Influencer

Thank you..

0 Karma

Influencer

Did you get a solution for this?

0 Karma

Motivator

Hey @mwdbhyat,

Can you post the xml? have you tried to edit the padding?

.btn-pill { padding: 0 45px;} ? From what i can tell, they auto adjust.

Hope this helps!

Thanks,
Raghav

0 Karma
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!