Dashboards & Visualizations

Splunk 6 - Changing Dropdown width in XML

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)

Engager

Excellent, that did do the job! Many thanks!

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