<?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: How to Horizontally align the radio button in Splunk dashboard in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Horizontally-align-the-radio-button-in-Splunk-dashboard/m-p/370191#M43078</link>
    <description>&lt;P&gt;Short of putting them into empty panels, is there a way to have two separate radio button groups be horizontally displayed on top of each other?&lt;/P&gt;</description>
    <pubDate>Mon, 24 Feb 2020 18:22:03 GMT</pubDate>
    <dc:creator>thisemailwillbe</dc:creator>
    <dc:date>2020-02-24T18:22:03Z</dc:date>
    <item>
      <title>How to Horizontally align the radio button in Splunk dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Horizontally-align-the-radio-button-in-Splunk-dashboard/m-p/370182#M43069</link>
      <description>&lt;P&gt;We are having many input fields to render visualizations in dashboards.Is there any to customize the radio input horizontally to have a better look and feel.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2017 15:00:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Horizontally-align-the-radio-button-in-Splunk-dashboard/m-p/370182#M43069</guid>
      <dc:creator>basilarockiaedw</dc:creator>
      <dc:date>2017-03-22T15:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to Horizontally align the radio button in Splunk dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Horizontally-align-the-radio-button-in-Splunk-dashboard/m-p/370183#M43070</link>
      <description>&lt;P&gt;This is something so basic it should definitely be included as a default simpleXML option...&lt;/P&gt;</description>
      <pubDate>Fri, 22 Feb 2019 18:19:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Horizontally-align-the-radio-button-in-Splunk-dashboard/m-p/370183#M43070</guid>
      <dc:creator>nick405060</dc:creator>
      <dc:date>2019-02-22T18:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to Horizontally align the radio button in Splunk dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Horizontally-align-the-radio-button-in-Splunk-dashboard/m-p/370184#M43071</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;Try this to align horizontally&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Splunk 7.2.4&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;test&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;input type="radio" token="app_type" searchWhenChanged="false" id="radiosample"&amp;gt;
      &amp;lt;label&amp;gt;Color&amp;lt;/label&amp;gt;
      &amp;lt;choice value="red"&amp;gt;Red&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="blue"&amp;gt;Blue&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="green"&amp;gt;Green&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="black"&amp;gt;Black&amp;lt;/choice&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;
          #radiosample div[data-test="radio-list"]{
           display: inline;
          }  

          #radiosample div[data-test="option"]{
            display: inline;
            margin-top: 0px;
            margin-right: 10px;
            margin-bottom: 0px;
            margin-left: 0px
          } 
          #radiosample {
            width:30%;
          }
        &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;

&lt;P&gt;&lt;STRONG&gt;Splunk 6.6.6&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
   &amp;lt;label&amp;gt;test&amp;lt;/label&amp;gt;
   &amp;lt;fieldset submitButton="false"&amp;gt;
     &amp;lt;input type="radio" token="app_type" searchWhenChanged="false" id="radiosample"&amp;gt;
       &amp;lt;label&amp;gt;Color&amp;lt;/label&amp;gt;
       &amp;lt;choice value="red"&amp;gt;Red&amp;lt;/choice&amp;gt;
       &amp;lt;choice value="blue"&amp;gt;Blue&amp;lt;/choice&amp;gt;
       &amp;lt;choice value="green"&amp;gt;Green&amp;lt;/choice&amp;gt;
       &amp;lt;choice value="black"&amp;gt;Black&amp;lt;/choice&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;
           #radiosample .choice{
            display: inline;
           }  
         &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>Thu, 28 Feb 2019 14:45:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Horizontally-align-the-radio-button-in-Splunk-dashboard/m-p/370184#M43071</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-02-28T14:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to Horizontally align the radio button in Splunk dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Horizontally-align-the-radio-button-in-Splunk-dashboard/m-p/370185#M43072</link>
      <description>&lt;P&gt;@vnravikumar Thank you for trying! I can't get it to work in v6.6.6. I even tried the following style in both an existing dashboard and using your full example code:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;style&amp;gt;
           #radiosample div[data-test="radio-list"]{
            display: inline !important;
           }  

           #radiosample div[data-test="option"]{
             display: inline !important;
             margin-top: 0px !important;
             margin-right: 10px !important;
             margin-bottom: 0px !important;
             margin-left: 0px !important;
           } 
           #radiosample {
             width:30% !important;
           }
&amp;lt;/style&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 28 Feb 2019 19:23:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Horizontally-align-the-radio-button-in-Splunk-dashboard/m-p/370185#M43072</guid>
      <dc:creator>efavreau</dc:creator>
      <dc:date>2019-02-28T19:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to Horizontally align the radio button in Splunk dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Horizontally-align-the-radio-button-in-Splunk-dashboard/m-p/370186#M43073</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;The above sample will work in 7.2.4&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 22:28:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Horizontally-align-the-radio-button-in-Splunk-dashboard/m-p/370186#M43073</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-02-28T22:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to Horizontally align the radio button in Splunk dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Horizontally-align-the-radio-button-in-Splunk-dashboard/m-p/370187#M43074</link>
      <description>&lt;P&gt;I will let you know for v 6.6.6&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 22:32:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Horizontally-align-the-radio-button-in-Splunk-dashboard/m-p/370187#M43074</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-02-28T22:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to Horizontally align the radio button in Splunk dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Horizontally-align-the-radio-button-in-Splunk-dashboard/m-p/370188#M43075</link>
      <description>&lt;P&gt;@efavreau, I had posted sample code above for 6.6.6, please try and let me know&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 10:25:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Horizontally-align-the-radio-button-in-Splunk-dashboard/m-p/370188#M43075</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-03-01T10:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to Horizontally align the radio button in Splunk dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Horizontally-align-the-radio-button-in-Splunk-dashboard/m-p/370189#M43076</link>
      <description>&lt;P&gt;@vnravikumar SUCCESS! This isn't my question, or I'd accept the answer. I did upvote it. Thank you!&lt;/P&gt;

&lt;P&gt;Here's what I ended up with:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;style&amp;gt;
   #radiosample .choice { //* change it to horizontal *//
    display: inline !important;
   }  
   #radiosample .splunk-radiogroup .choice { //* adds 20 pixels to uncramp the choices *//
    margin-right: 20px !important;
   }
   #radiosample .splunk-radiogroup-choices { //* Moves the binding box out to provide enough room for my choices *//
    width: 2600px !important;
   }
   .hide-global-filters { //* hides the "Hide Filters" toggle, rather than fix it. *//
   visibility: hidden !important;
   }
 &amp;lt;/style&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 01 Mar 2019 15:41:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Horizontally-align-the-radio-button-in-Splunk-dashboard/m-p/370189#M43076</guid>
      <dc:creator>efavreau</dc:creator>
      <dc:date>2019-03-01T15:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to Horizontally align the radio button in Splunk dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Horizontally-align-the-radio-button-in-Splunk-dashboard/m-p/370190#M43077</link>
      <description>&lt;P&gt;vnravikumar's answer was good for the alignment of the radio buttons, but didn't make the text and radio button aligned, leading what looked like the text being aligned vertical-top and the radio button vertical-bottom. Now that Splunk has large components of the CSS in flexboxes, the following CSS works well in my Splunk instance (7.1.4, but assuming it'll work in more recent versions too):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#exampleRadioId1 div {
  flex-flow: row wrap;
}

#exampleRadioId2 div {
  flex-flow: row wrap;
}

.splunk-radiogroup label {
  padding-right: 5px;
}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;CODE&gt;.splunk-radiogroup&lt;/CODE&gt; is still an &lt;CODE&gt;inline-block&lt;/CODE&gt; (inside the flex-box) and so needs to have a single change made to it to have the padding between buttons the same as the padding between an individual radio button and the text aligned to it - it can be increased to 10px or more if you desire.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2019 01:37:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Horizontally-align-the-radio-button-in-Splunk-dashboard/m-p/370190#M43077</guid>
      <dc:creator>jlr</dc:creator>
      <dc:date>2019-08-09T01:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to Horizontally align the radio button in Splunk dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Horizontally-align-the-radio-button-in-Splunk-dashboard/m-p/370191#M43078</link>
      <description>&lt;P&gt;Short of putting them into empty panels, is there a way to have two separate radio button groups be horizontally displayed on top of each other?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 18:22:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Horizontally-align-the-radio-button-in-Splunk-dashboard/m-p/370191#M43078</guid>
      <dc:creator>thisemailwillbe</dc:creator>
      <dc:date>2020-02-24T18:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to Horizontally align the radio button in Splunk dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Horizontally-align-the-radio-button-in-Splunk-dashboard/m-p/370192#M43079</link>
      <description>&lt;P&gt;I've just been inserting a &lt;CODE&gt;&amp;lt;html&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;/html&amp;gt;&lt;/CODE&gt; between horizontal rows.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 21:00:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Horizontally-align-the-radio-button-in-Splunk-dashboard/m-p/370192#M43079</guid>
      <dc:creator>jlr</dc:creator>
      <dc:date>2020-02-24T21:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to Horizontally align the radio button in Splunk dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Horizontally-align-the-radio-button-in-Splunk-dashboard/m-p/370193#M43080</link>
      <description>&lt;P&gt;Sweet - Thanks for your help. Cheers!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2020 18:53:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Horizontally-align-the-radio-button-in-Splunk-dashboard/m-p/370193#M43080</guid>
      <dc:creator>thisemailwillbe</dc:creator>
      <dc:date>2020-02-25T18:53:41Z</dc:date>
    </item>
  </channel>
</rss>

