Alert.getHeight and Alert.getDialogPane().getHeight() are returning the same value

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: P4
    • 8u40
    • Affects Version/s: 8u40
    • Component/s: javafx

      Reproducible: always
      Is a regression: no

      Steps to reproduce (Sample attached):
      1. Create alert and wait until it shown.
      2. Get alert size using alert.getHeight() and alert.getDialogPane().getHeight()
      Expected behaviour: alert.getHeight() returns window size with decorations, alert.getDialogPane().getHeight() return window size without header and borders.
      Actual behaviour: both heights are the equal, but when trying to close dialog methods return expected size.

            Assignee:
            Jonathan Giles
            Reporter:
            Andrey Rusakov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: