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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 7u6
    • Fix Version/s: 7u6
    • Component/s: javafx
    • Environment:

      2.2.0b11.

      Description

      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);

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported: