Dialog unnecessarily invokes DialogPane.requestLayout()

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: jfx25
    • Component/s: javafx
    • None

      The implementation of Dialog.dialogPane adds a ListChangeListener to DialogPane.buttonTypes, and calls DialogPane.requestLayout() from the listener.

      This is not needed, because the DialogPane.createButtonBar() method already specifies that implementers are required to observe changes of DialogPane.buttonTypes, and appropriately relayout the button bar.

            Assignee:
            Michael Strauß
            Reporter:
            Michael Strauß
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: