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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...