<?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: Positioning of different elements like dropdowns, textboxes and time-range Picker ? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Positioning-of-different-elements-like-dropdowns-textboxes-and/m-p/56361#M2980</link>
    <description>&lt;P&gt;@ranjyotiprakash, please update above, if this answers your question please accept it (and upvote if your feeling nice &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; )&lt;/P&gt;</description>
    <pubDate>Tue, 11 Sep 2012 10:15:19 GMT</pubDate>
    <dc:creator>MHibbin</dc:creator>
    <dc:date>2012-09-11T10:15:19Z</dc:date>
    <item>
      <title>Positioning of different elements like dropdowns, textboxes and time-range Picker ?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Positioning-of-different-elements-like-dropdowns-textboxes-and/m-p/56358#M2977</link>
      <description>&lt;P&gt;How can we change the position of the different elements like dropdowns, textboxes and time-range Picker in a view ?&lt;/P&gt;

&lt;P&gt;I have a view in my custom application and I want to have the dropdowns, text boxes and time-range picker in the same line as they are consuming a lot of spaces. &lt;/P&gt;

&lt;P&gt;How can we do that ?&lt;BR /&gt;
Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2012 06:13:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Positioning-of-different-elements-like-dropdowns-textboxes-and/m-p/56358#M2977</guid>
      <dc:creator>ranjyotiprakash</dc:creator>
      <dc:date>2012-09-11T06:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Positioning of different elements like dropdowns, textboxes and time-range Picker ?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Positioning-of-different-elements-like-dropdowns-textboxes-and/m-p/56359#M2978</link>
      <description>&lt;P&gt;You will need to use custom CSS (docs &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Developer/UseCSS"&gt;here&lt;/A&gt;)&lt;/P&gt;

&lt;P&gt;You make your life easier by using Mozilla Firefox and the Firebug add-on, as this will let you inspect the CSS elements.&lt;/P&gt;

&lt;P&gt;EDIT: MORE INFO...&lt;/P&gt;

&lt;P&gt;Okay, so firstly I would create a CSS file specific to that view in you app (e.g. &lt;CODE&gt;$SPLUNK_HOME/etc/apps/&amp;lt;yourApp&amp;gt;/appserver/static/yourView.css&lt;/CODE&gt;).&lt;/P&gt;

&lt;P&gt;In a recent case similar to this I used something like the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;.dashboardContent .StaticContentSample {
    float: left;
    padding-top: 2px;
    margin-right: 5px;
}

.dashboardContent .TimeRangePicker {
    float: left;
    padding-top: 2px;
    margin-right: 5px;
}

.dashboardContent .StaticSelect {
    float: left;
    padding-top: 2px;
    margin-right: 5px;
}

.dashboardContent .ConvertToIntention {
    float: left;
    padding-top: 2px;
    margin-right: 5px;
}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Which fit my needs, you may need to experiment a little. Save this file.&lt;/P&gt;

&lt;P&gt;You will then need to use advanced XML for this part (if you are simple XML then use "application.css"), edit your advanced XML to include the following in the "view" tag (at the beginning).&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;stylesheet="yourView.css"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;e.g. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;view stylesheet="yourView.css"&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You will then need to restart SplunkWeb to apply the new CSS file.&lt;/P&gt;

&lt;P&gt;There are other questions similar to this, so you may be able get there.&lt;/P&gt;

&lt;P&gt;e.g. &lt;A href="http://splunk-base.splunk.com/answers/8223/how-to-arrange-inputs-on-a-form"&gt;http://splunk-base.splunk.com/answers/8223/how-to-arrange-inputs-on-a-form&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps you on your way.&lt;/P&gt;

&lt;P&gt;MHibbin&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2012 08:48:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Positioning-of-different-elements-like-dropdowns-textboxes-and/m-p/56359#M2978</guid>
      <dc:creator>MHibbin</dc:creator>
      <dc:date>2012-09-11T08:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: Positioning of different elements like dropdowns, textboxes and time-range Picker ?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Positioning-of-different-elements-like-dropdowns-textboxes-and/m-p/56360#M2979</link>
      <description>&lt;P&gt;Thanks for your reply Mhibbin !&lt;BR /&gt;
I have tried editing the CSS but, I am unable to arrange the dropdowns and Time range picker in the same line. Can you please guide me further on this ..Thanks !!!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2012 09:22:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Positioning-of-different-elements-like-dropdowns-textboxes-and/m-p/56360#M2979</guid>
      <dc:creator>ranjyotiprakash</dc:creator>
      <dc:date>2012-09-11T09:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Positioning of different elements like dropdowns, textboxes and time-range Picker ?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Positioning-of-different-elements-like-dropdowns-textboxes-and/m-p/56361#M2980</link>
      <description>&lt;P&gt;@ranjyotiprakash, please update above, if this answers your question please accept it (and upvote if your feeling nice &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; )&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2012 10:15:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Positioning-of-different-elements-like-dropdowns-textboxes-and/m-p/56361#M2980</guid>
      <dc:creator>MHibbin</dc:creator>
      <dc:date>2012-09-11T10:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Positioning of different elements like dropdowns, textboxes and time-range Picker ?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Positioning-of-different-elements-like-dropdowns-textboxes-and/m-p/56362#M2981</link>
      <description>&lt;P&gt;Thanks a lot !!!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2012 12:44:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Positioning-of-different-elements-like-dropdowns-textboxes-and/m-p/56362#M2981</guid>
      <dc:creator>ranjyotiprakash</dc:creator>
      <dc:date>2012-09-11T12:44:18Z</dc:date>
    </item>
  </channel>
</rss>

