<?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: Editor Comment Box Size?? in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/editor-comment-box-size/m-p/652574#M14529</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Yann,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you so much for your help. However I still having trouble to get this working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Below is my fieldInspector and I am now using &amp;lt;fieldClases&amp;gt; but still getting error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;esri:FieldInspector id="RTP_Points2" 
&amp;nbsp; featureLayer="{comments2}"
&amp;nbsp;&amp;nbsp; fieldName="COMMENT"
&amp;nbsp;&amp;nbsp; label="Comment"&amp;gt;
&amp;nbsp; &amp;lt;fx:Component&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;fieldClasses:TextField height="50" /&amp;gt;
&amp;nbsp; &amp;lt;/fx:Component&amp;gt;
 &amp;lt;/esri:FieldInspector&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error: The prefix "fieldClasses" for element "fieldClasses:TextField" is not bound - Not sure what that is.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW: It was a pleasure talking to you at the ESRI Conference. Hope all is well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Merci D'avance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 03:39:55 GMT</pubDate>
    <dc:creator>KomanDiabate</dc:creator>
    <dc:date>2021-12-12T03:39:55Z</dc:date>
    <item>
      <title>Editor Comment Box Size??</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/editor-comment-box-size/m-p/652567#M14522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am working on an editing application where I collecting various data using Flex api editor. I directly using the api to design the application and I am trying to change the size of the comment box, particularly reducing the height of the comment box by half.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anybody knows how this is done? Is this possible? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]26152[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2013 16:51:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/editor-comment-box-size/m-p/652567#M14522</guid>
      <dc:creator>KomanDiabate</dc:creator>
      <dc:date>2013-07-23T16:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Editor Comment Box Size??</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/editor-comment-box-size/m-p/652568#M14523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Koman,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure if this is a flex API question or are you using the Viewer, if so in your config file for your edit widget you have the following attribute:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;singletomultilinethreshold&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the maximum number of characters to display as a single line text input component, otherwise display as a multiline text area. This number is compared to the length of the string field. Number value (default is 50).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You also have the same attribute in the AttributeInspector class:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/en/flex/api-reference/com/esri/ags/components/AttributeInspector.html"&gt;https://developers.arcgis.com/en/flex/api-reference/com/esri/ags/components/AttributeInspector.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anthony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2013 17:04:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/editor-comment-box-size/m-p/652568#M14523</guid>
      <dc:creator>AnthonyGiles</dc:creator>
      <dc:date>2013-07-23T17:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: Editor Comment Box Size??</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/editor-comment-box-size/m-p/652569#M14524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Anthony,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am actually using the flex api to do this. I am not worry about the width of the comment box. I am trying to change to height so that the comment box is not as tall. So I am wondering how to go about doing this? Any additional help will be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2013 17:23:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/editor-comment-box-size/m-p/652569#M14524</guid>
      <dc:creator>KomanDiabate</dc:creator>
      <dc:date>2013-07-23T17:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Editor Comment Box Size??</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/editor-comment-box-size/m-p/652570#M14525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Koman,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you looked at the AttributeInspector class?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/en/flex/api-reference/com/esri/ags/components/AttributeInspector.html#singleToMultilineThreshold"&gt;https://developers.arcgis.com/en/flex/api-reference/com/esri/ags/components/AttributeInspector.html#singleToMultilineThreshold&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anthony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2013 17:47:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/editor-comment-box-size/m-p/652570#M14525</guid>
      <dc:creator>AnthonyGiles</dc:creator>
      <dc:date>2013-07-23T17:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Editor Comment Box Size??</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/editor-comment-box-size/m-p/652571#M14526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I actually did look at it couple times, I am not seeing any thing helpful so far. Maybe I am missing something. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to set the memofield to true, It gives me the desired look and field, but I not retaining the edits. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you know how to do this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2013 17:56:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/editor-comment-box-size/m-p/652571#M14526</guid>
      <dc:creator>KomanDiabate</dc:creator>
      <dc:date>2013-07-23T17:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: Editor Comment Box Size??</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/editor-comment-box-size/m-p/652572#M14527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you try to increase the singleToMultilineThreshold property ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The default is 50. If you put a value bigger than you comment field length, the AttributeInspector will display a regular text input.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/en/flex/api-reference/com/esri/ags/components/AttributeInspector.html#singleToMultilineThreshold"&gt;https://developers.arcgis.com/en/flex/api-reference/com/esri/ags/components/AttributeInspector.html#singleToMultilineThreshold&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2013 18:24:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/editor-comment-box-size/m-p/652572#M14527</guid>
      <dc:creator>YannCabon</dc:creator>
      <dc:date>2013-07-23T18:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Editor Comment Box Size??</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/editor-comment-box-size/m-p/652573#M14528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you want to set the height for the textarea and keep multiline you can also create a FieldInspector for this field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Like so:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;esri:FieldInspector fieldName="LONG_STRING" featureLayer="{featureLayer}"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:editor&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:Component&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fieldClasses:TextField height="50" /&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/fx:Component&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:editor&amp;gt;
&amp;lt;/esri:FieldInspector&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The last option is to create a custom AttributeInspector skin and set the height value of the TextField.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the default attribute inspector skin at line 69:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:Component id="textField"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fieldClasses:TextField height="50" minWidth="200"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/fx:Component&amp;gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:39:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/editor-comment-box-size/m-p/652573#M14528</guid>
      <dc:creator>YannCabon</dc:creator>
      <dc:date>2021-12-12T03:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Editor Comment Box Size??</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/editor-comment-box-size/m-p/652574#M14529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Yann,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you so much for your help. However I still having trouble to get this working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Below is my fieldInspector and I am now using &amp;lt;fieldClases&amp;gt; but still getting error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;esri:FieldInspector id="RTP_Points2" 
&amp;nbsp; featureLayer="{comments2}"
&amp;nbsp;&amp;nbsp; fieldName="COMMENT"
&amp;nbsp;&amp;nbsp; label="Comment"&amp;gt;
&amp;nbsp; &amp;lt;fx:Component&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;fieldClasses:TextField height="50" /&amp;gt;
&amp;nbsp; &amp;lt;/fx:Component&amp;gt;
 &amp;lt;/esri:FieldInspector&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error: The prefix "fieldClasses" for element "fieldClasses:TextField" is not bound - Not sure what that is.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW: It was a pleasure talking to you at the ESRI Conference. Hope all is well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Merci D'avance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:39:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/editor-comment-box-size/m-p/652574#M14529</guid>
      <dc:creator>KomanDiabate</dc:creator>
      <dc:date>2021-12-12T03:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Editor Comment Box Size??</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/editor-comment-box-size/m-p/652575#M14530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does anybody out there knows how to change the height of the editor comment box?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2013 14:27:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/editor-comment-box-size/m-p/652575#M14530</guid>
      <dc:creator>KomanDiabate</dc:creator>
      <dc:date>2013-07-24T14:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Editor Comment Box Size??</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/editor-comment-box-size/m-p/652576#M14531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Error: The prefix "fieldClasses" for element "fieldClasses:TextField" is not bound - Not sure what that is.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;See:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://github.com/Esri/arcgis-samples-flex/blob/master/web/src/AttributeInspectorInfoWindowEditable.mxml#L5"&gt;https://github.com/Esri/arcgis-samples-flex/blob/master/web/src/AttributeInspectorInfoWindowEditable.mxml#L5&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2013 15:14:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/editor-comment-box-size/m-p/652576#M14531</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2013-07-24T15:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Editor Comment Box Size??</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/editor-comment-box-size/m-p/652577#M14532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Dasa,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you so much for the link, I was able to successfully use it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For those of you who maybe interested in doing this, here is how you formulate your field inspector:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import com.esri.ags.layers.supportClasses.Field;&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;esri:FieldInspector id="fLyr" 
&amp;nbsp; featureLayer="{myFeatureLayer}"
&amp;nbsp; fieldName="COMMENT"
&amp;nbsp; label="Comment" &amp;gt;
&amp;nbsp; &amp;lt;esri:editor&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;fx:Component&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fieldClasses:TextField height="50" /&amp;gt; 
&amp;nbsp;&amp;nbsp; &amp;lt;/fx:Component&amp;gt;
&amp;nbsp; &amp;lt;/esri:editor&amp;gt; 
&amp;lt;/esri:FieldInspector&amp;gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:39:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/editor-comment-box-size/m-p/652577#M14532</guid>
      <dc:creator>KomanDiabate</dc:creator>
      <dc:date>2021-12-12T03:39:58Z</dc:date>
    </item>
  </channel>
</rss>

