[ 
https://issues.apache.org/jira/browse/PIVOT-709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13078426#comment-13078426
 ] 

Bill van Melle commented on PIVOT-709:
--------------------------------------

Here's the mailing list thread that discusses why your solution is inadequate:

http://apache-pivot-users.399431.n3.nabble.com/How-to-get-a-wrapped-TextInput-td2571202.html

> Want a single-line text input component that wraps
> --------------------------------------------------
>
>                 Key: PIVOT-709
>                 URL: https://issues.apache.org/jira/browse/PIVOT-709
>             Project: Pivot
>          Issue Type: New Feature
>          Components: wtk
>            Reporter: Bill van Melle
>            Priority: Minor
>
> TextInput accepts a single line of text, but it also displays as only a 
> single line on the screen, with no provision for wrapping text instead of 
> clumsily horizontally scrolling.  TextArea happily wraps text, but it also 
> accepts the Enter key to insert newlines into the content.
> I would like a control that wraps its text, but also only accepts a single 
> line of input, i.e., it does not accept Enter to produce multiple lines, and 
> in fact allows Enter to be handled by its container (e.g., a Sheet).  Whether 
> this means a wrapText attribute on a TextInput, or a multiLine or 
> acceptsEnter attribute on a TextArea makes little difference to me.  A quick 
> glance at the TextAreaSkin suggests the latter would be straightforward.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to