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

Noel Grandin commented on PIVOT-709:
------------------------------------

Just added an "acceptsEnter" skin property for TextArea. Bill, let me know how 
this works out for you.

> 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