<?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 can I change the width and height of a TextInput? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-change-the-width-and-height-of-a-TextInput/m-p/280274#M53637</link>
    <description>&lt;P&gt;Based on your example, you should be able to set the width and height using jQuery:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$('input5-input').css('width','400px');
$('input5-input').css('height','300px');
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;or CSS:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;input#input5-input {
   width: 400px;
   height: 300px;
}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 25 Jul 2016 20:59:39 GMT</pubDate>
    <dc:creator>kbarker302</dc:creator>
    <dc:date>2016-07-25T20:59:39Z</dc:date>
    <item>
      <title>How can I change the width and height of a TextInput?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-change-the-width-and-height-of-a-TextInput/m-p/280273#M53636</link>
      <description>&lt;P&gt;I am trying to change the width and height of a form input (TextInput). The code for creating the form input is below: &lt;/P&gt;

&lt;P&gt;var input5 = new TextInput({&lt;BR /&gt;
               "id": "input5",&lt;BR /&gt;
               "value": "$form.ID$",&lt;BR /&gt;
               "el": $('#input5')&lt;BR /&gt;
           }, {tokens: true}).render();&lt;/P&gt;

&lt;P&gt;I would have assumed I'd be able to change the width and height by simply including something like the code below, but nothing has worked so far.&lt;/P&gt;

&lt;P&gt;var input5 = new TextInput({&lt;BR /&gt;
               "id": "input5",&lt;BR /&gt;
               "value": "$form.ID$",&lt;BR /&gt;
           "style": "width:400px; height:300px",&lt;BR /&gt;
               "el": $('#input5')&lt;BR /&gt;
           }, {tokens: true}).render();&lt;/P&gt;

&lt;P&gt;How would I change the width and height of a TextInput?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2016 19:32:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-change-the-width-and-height-of-a-TextInput/m-p/280273#M53636</guid>
      <dc:creator>petersso</dc:creator>
      <dc:date>2016-07-25T19:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: How can I change the width and height of a TextInput?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-change-the-width-and-height-of-a-TextInput/m-p/280274#M53637</link>
      <description>&lt;P&gt;Based on your example, you should be able to set the width and height using jQuery:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$('input5-input').css('width','400px');
$('input5-input').css('height','300px');
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;or CSS:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;input#input5-input {
   width: 400px;
   height: 300px;
}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 25 Jul 2016 20:59:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-change-the-width-and-height-of-a-TextInput/m-p/280274#M53637</guid>
      <dc:creator>kbarker302</dc:creator>
      <dc:date>2016-07-25T20:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: How can I change the width and height of a TextInput?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-change-the-width-and-height-of-a-TextInput/m-p/280275#M53638</link>
      <description>&lt;P&gt;It seems like I'm only able to resize the div containing the input, but not the input itself. &lt;/P&gt;

&lt;P&gt;Here's the code for my div: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;`&amp;lt;div class="input input-text" id="input5"&amp;gt;&amp;lt;/div&amp;gt;`
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any other advice?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2016 20:12:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-change-the-width-and-height-of-a-TextInput/m-p/280275#M53638</guid>
      <dc:creator>petersso</dc:creator>
      <dc:date>2016-07-27T20:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: How can I change the width and height of a TextInput?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-change-the-width-and-height-of-a-TextInput/m-p/280276#M53639</link>
      <description>&lt;P&gt;same problem here, is there any solutuon out there for this? thanks&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 12:16:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-change-the-width-and-height-of-a-TextInput/m-p/280276#M53639</guid>
      <dc:creator>nikkkc</dc:creator>
      <dc:date>2017-09-05T12:16:41Z</dc:date>
    </item>
  </channel>
</rss>

