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

Setting Label.wrap to true makes the Label to endlessly increasing its width

    Details

      Description

      Running the following code make the Label to endlessly increasing its width. The horizontal-scroll-bar in +- 2 seconds or so since the initial width of the Label is smaller than the ScrollView. Then the scroll-bar handle starts to shrink and extend the space where you can scroll.
      {code}
      javafx.stage.Stage {
          scene: javafx.scene.Scene {
              content: javafx.scene.control.ScrollView {
                  node: javafx.scene.control.Label {
                      textWrap: true
                      text: "A"
                  }
              }
          }
      }
      {code}

        Attachments

          Activity

            People

            • Assignee:
              naoto Naoto Sato
              Reporter:
              dkasparjfx David Kaspar (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: