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

[ScrollPane] Wrong content size detection.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • fx2.0
    • javafx

      See attached video.

      I have a VBox vb with some content which is:
      vb.setStyle("-fx-border-color: blue;");
      testedScrollPane.setContent(vb);

      Dynamicaly I've set it as content of ScrollPane. You can see, that there is a big white space, rigther from the vb (it has a blue border). I don't set any other options(properties) manually.

        1. ContentSizeIssue.avi
          940 kB
          Alexander Kirov

            miflemi Mick Fleming
            akirov Alexander Kirov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: