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

Issues with TextArea rendering: Text is wrapped around when it should not - text and scrollbars can be displayed outside of the text area.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • fx2.1
    • fx2.1
    • javafx
    • SDK 2.1 promoted b05

      Product: javafx-2.1.0beta
      Platform: macosx-universal
      Build-Number: 34
      Build-ID: 2011-12-13_17-05-09

    Description

      Happens both on Mac and Windows with promoted build JavaFx 2.1 b05.
      I didn't see this behavior before - although it might have been there.

      First - when you drop a text area from the SceneBuilder library, the text is drawn on two lines, which is surprising since there's room enough to draw it on 1 line - see textarea1.png attached.

      Then, if you anchor the text area on 4 sides, save the FXML, and preview the saved fxml, you will see that making the window too small will cause the text and scrollbar to display outside of the textarea, see attached textarea2.png

      For reference I have also attached the textarea.fxml file: you can use the FXML loader to load it and reproduce step 2.

      Attachments

        1. textarea.fxml
          0.5 kB
        2. textarea1.png
          textarea1.png
          5 kB
        3. textarea2.png
          textarea2.png
          10 kB

        Issue Links

          Activity

            People

              leifs Leif Samuelsson (Inactive)
              dfuchs Daniel Fuchs
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: