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

[Pagination] compress content instead of showing scrollBar and doesn't respond pref size setting.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • 7u6
    • 7u6
    • javafx
    • 2.2.0b11.

      Movie is attached. Standart test app to be used.

      Issue: I change prefSize of control, but control doesn't repsond, starting from some value (I mean, pagination doesn't become less then size of content).

      If I change min Size, then, ok, pref size start to affect, but content is compressed, and scrollbars are not shown.

      @Kinsley:
      To standart app, just add lines:

                  tb.addDoublePropertyLine(testedPagination.minWidthProperty(), -100, 400, 100);
                  tb.addDoublePropertyLine(testedPagination.minHeightProperty(), -100, 600, 100);
                  
                  tb.addDoublePropertyLine(testedPagination.prefWidthProperty(), -100, 400, 100);
                  tb.addDoublePropertyLine(testedPagination.prefHeightProperty(), -100, 600, 100);
                  
                  tb.addDoublePropertyLine(testedPagination.maxWidthProperty(), -100, 400, 100);
                  tb.addDoublePropertyLine(testedPagination.maxHeightProperty(), -100, 600, 100);

            kwwong Kinsley Wong (Inactive)
            akirov Alexander Kirov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: