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

Greg Brown commented on PIVOT-709:
----------------------------------

FYI, "wrapText" and "multiline" are actually potentially distinct concepts. 
"wrapText" (which is currently supported) dictates whether text should wrap at 
component boundaries (true) or clip (false). "multiline" might mean "allow the 
user to create multiple paragraphs separated by line feeds" (true) or not 
(false). I think I prefer this to "accepts enter", because it may not be 
entirely clear to a user what "accepts" means in this context.


> 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