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!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

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