Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-709

Want a single-line text input component that wraps

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.1
    • Component/s: wtk
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              grandinj Noel Grandin
              Reporter:
              bvanmelle Bill van Melle
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: