Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8096501

Authorizing multiline on TextField is confusing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 8u40
    • 8
    • javafx
    • None
    • 9bbbbf0cbcdb

    Description

      SceneBuilder 2 allows to turn Text property (same for Prompt Text) of a textField to multiline. You can enter your value on several lines but on Content and in Preview the rendering is always done on a single line, which is confusing.
      If you do it with say a Button then the rendering is in sync.

      SceneBuilder 1.1 doesn't authorize multiline for Text / Prompt Text properties of a TextField; and if the user manually writes in his FXML files a value with carriage return (something like text="scene
builder") then it is silently ignored and the rendering is always done on a single line (one reads "scenebuilder").

      I would say SceneBuilder 2.0 should stick to what version 1.1 is doing, unless I missed something.

      Attachments

        Issue Links

          Activity

            People

              jcambon Jerome Cambon
              yjoan Yves Joan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: