Dashboards & Visualizations

Splunk 6 - Changing Dropdown width in XML

churchcody
Engager

I apologize if this question has been asked before, but I can't seem to figure out how to adjust the width of a dynamic dropdown input on my form dashboard via XML. The only values I know for altering width are either the param or option ones, and neither has any effect. Do I need to use more advanced XML (which I am not familiar with)? My attempts with HTML have also been fruitless (of which I am also unfamiliar with).

<input type="dropdown" token="dependency" searchWhenChanged="true">
  <label>Select a Dependency:</label>
  <prefix>"</prefix>
  <suffix>"</suffix>
  <default>"Select from List"</default>
  <populatingSearch fieldForValue="ext_dep_identifier" fieldForLabel="ext_dep_identifier" earliest="$earliest$" latest="$latest$">
    <![CDATA[index=main source=$app$ | stats count by ext_dep_identifier]]>
  </populatingSearch>
  <param name="width">500px</param>
</input>
Tags (3)

churchcody
Engager

Excellent, that did do the job! Many thanks!

aholzer
Motivator

I believe this was answered a few days ago. You'll need to change your CSS:

http://answers.splunk.com/answers/114078/splunk-6-dropdown-menu-decrease-width

-- EDIT --
Converted to answer

Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...