<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Increase width of a multiselect? Of a timepicker? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Increase-width-of-a-multiselect-Of-a-timepicker/m-p/442018#M29132</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;multiselect&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;input type="multiselect" token="field1" id="resized_input"&amp;gt;
      &amp;lt;label&amp;gt;field1&amp;lt;/label&amp;gt;
      &amp;lt;choice value="q"&amp;gt;testtesttest&amp;lt;/choice&amp;gt;
      &amp;lt;delimiter&amp;gt; &amp;lt;/delimiter&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="dropdown" token="field2"&amp;gt;
      &amp;lt;label&amp;gt;field2&amp;lt;/label&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row depends="$hide$"&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;html&amp;gt;
      &amp;lt;style&amp;gt;
            #resized_input div[data-component="splunk-core:/splunkjs/mvc/components/MultiDropdown"]{
              width: 500px !important;
            }

           #resized_input div[data-view="splunkjs/mvc/multidropdownview"]{
              width: 500px !important;
              margin-right: auto !important;
            }

           .fieldset .input{
           width:auto !important;
           }
      &amp;lt;/style&amp;gt;
    &amp;lt;/html&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 07 May 2019 22:58:34 GMT</pubDate>
    <dc:creator>vnravikumar</dc:creator>
    <dc:date>2019-05-07T22:58:34Z</dc:date>
    <item>
      <title>Increase width of a multiselect? Of a timepicker?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Increase-width-of-a-multiselect-Of-a-timepicker/m-p/442017#M29131</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;

&lt;P&gt;I've looked at all the width-adjustment-related Splunk Answers and none of them work for a multiselect in 7.2. You can decrease width with:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#ms.input-multiselect {
  min-width: 150px !important;
  width: 150px !important;
  max-width: 150px !important;
}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but not increase it. How can you do this with a multiselect?&lt;/P&gt;

&lt;P&gt;How about a timepicker?&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2019 19:55:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Increase-width-of-a-multiselect-Of-a-timepicker/m-p/442017#M29131</guid>
      <dc:creator>nick405060</dc:creator>
      <dc:date>2019-05-07T19:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: Increase width of a multiselect? Of a timepicker?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Increase-width-of-a-multiselect-Of-a-timepicker/m-p/442018#M29132</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;multiselect&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;input type="multiselect" token="field1" id="resized_input"&amp;gt;
      &amp;lt;label&amp;gt;field1&amp;lt;/label&amp;gt;
      &amp;lt;choice value="q"&amp;gt;testtesttest&amp;lt;/choice&amp;gt;
      &amp;lt;delimiter&amp;gt; &amp;lt;/delimiter&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="dropdown" token="field2"&amp;gt;
      &amp;lt;label&amp;gt;field2&amp;lt;/label&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row depends="$hide$"&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;html&amp;gt;
      &amp;lt;style&amp;gt;
            #resized_input div[data-component="splunk-core:/splunkjs/mvc/components/MultiDropdown"]{
              width: 500px !important;
            }

           #resized_input div[data-view="splunkjs/mvc/multidropdownview"]{
              width: 500px !important;
              margin-right: auto !important;
            }

           .fieldset .input{
           width:auto !important;
           }
      &amp;lt;/style&amp;gt;
    &amp;lt;/html&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 07 May 2019 22:58:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Increase-width-of-a-multiselect-Of-a-timepicker/m-p/442018#M29132</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-05-07T22:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Increase width of a multiselect? Of a timepicker?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Increase-width-of-a-multiselect-Of-a-timepicker/m-p/442019#M29133</link>
      <description>&lt;P&gt;YES. Tyvm!&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2019 23:17:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Increase-width-of-a-multiselect-Of-a-timepicker/m-p/442019#M29133</guid>
      <dc:creator>nick405060</dc:creator>
      <dc:date>2019-05-07T23:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Increase width of a multiselect? Of a timepicker?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Increase-width-of-a-multiselect-Of-a-timepicker/m-p/442020#M29134</link>
      <description>&lt;P&gt;@vnravikumar If you know how to increase the width of a time picker (just the undropped part, e.g. "Last 24 hours"), let me know and I will update this question to be "Increase width of a multiselect? Timepicker?"&lt;/P&gt;

&lt;P&gt;If not, I'll post a separate SA question about increasing the width of a timepicker. Thanks again!&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2019 23:27:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Increase-width-of-a-multiselect-Of-a-timepicker/m-p/442020#M29134</guid>
      <dc:creator>nick405060</dc:creator>
      <dc:date>2019-05-07T23:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Increase width of a multiselect? Of a timepicker?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Increase-width-of-a-multiselect-Of-a-timepicker/m-p/442021#M29135</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;timepicker&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;input type="time" token="timepicker" id="resized_input"&amp;gt;
      &amp;lt;label&amp;gt;&amp;lt;/label&amp;gt;
      &amp;lt;default&amp;gt;
        &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
        &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
      &amp;lt;/default&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="dropdown" token="field1"&amp;gt;
      &amp;lt;label&amp;gt;field1&amp;lt;/label&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index="_internal" |stats count by source&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;$timepicker.earliest$&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;$timepicker.latest$&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
  &amp;lt;row depends="$hide$"&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;html&amp;gt;
       &amp;lt;style&amp;gt;

            #resized_input div[data-view="splunkjs/mvc/timerangeview"]{
               width: 500px !important;
               margin-right: auto !important;
             }

            .fieldset .input{
            width:auto !important;
            }
       &amp;lt;/style&amp;gt;
     &amp;lt;/html&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 07 May 2019 23:33:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Increase-width-of-a-multiselect-Of-a-timepicker/m-p/442021#M29135</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-05-07T23:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: Increase width of a multiselect? Of a timepicker?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Increase-width-of-a-multiselect-Of-a-timepicker/m-p/442022#M29136</link>
      <description>&lt;P&gt;AWESOME. Works. Updated question. Ty.&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2019 23:53:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Increase-width-of-a-multiselect-Of-a-timepicker/m-p/442022#M29136</guid>
      <dc:creator>nick405060</dc:creator>
      <dc:date>2019-05-07T23:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Increase width of a multiselect? Of a timepicker?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Increase-width-of-a-multiselect-Of-a-timepicker/m-p/442023#M29137</link>
      <description>&lt;P&gt;Make sure to set a panel id in xml so that the html can recognize it after the #&lt;BR /&gt;
To expand length of panel: &lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;set a panel id&lt;/LI&gt;
&lt;LI&gt;Change size of object with that id in
html&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;for example: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;input type="multiselect" token="panel" id="example_id"&amp;gt; 
    .... 
&amp;lt;/input&amp;gt;
&amp;lt;html&amp;gt;

&amp;lt;style type="text/css"&amp;gt;

#example_id div[data-component="splunk-core:/splunkjs/mvc/components/MultiDropdown"]{

           width: 400px !important;

         }


#example_id div[data-view="splunkjs/mvc/multidropdownview"] {

           width: 400px !important;

           margin-right: auto !important;

         }

#example_id div[class="splunk-view splunk-multidropdown splunk-choice-input"]{

           width: 400px !important;

           margin-right: auto !important;

         }



        .fieldset .input{

        width:auto !important;

        }      

&amp;lt;/style&amp;gt;

&amp;lt;/html&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Note: &lt;BR /&gt;
&lt;STRONG&gt;id="example_id&lt;/STRONG&gt;&lt;BR /&gt;
&lt;STRONG&gt;#example_id&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 17:08:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Increase-width-of-a-multiselect-Of-a-timepicker/m-p/442023#M29137</guid>
      <dc:creator>betm</dc:creator>
      <dc:date>2019-08-08T17:08:33Z</dc:date>
    </item>
  </channel>
</rss>

