Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-237

Possible bug(s) in TerraSplitPaneSkin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.3
    • 1.3
    • wtk
    • None

    Description

      In TerraSplitPaneSkin, I am wondering if line 505 should read:

      int minimumChildSize = splitPane.getTop().getMinimumPreferredHeight();

      rather than:

      int minimumChildSize = splitPane.getBottom().getMinimumPreferredHeight();

      I'm only asking because, as written, it doesn't have parity with lines 498 and 500 - should it?

      Also, it seems like we might want to gracefully handle null values for top/left/bottom/right here. Currently, if any of them are undefined, we'll get an NPE.

      Attachments

        1. BugFixSplitPane.patch
          5 kB
          Niclas Hedhman

        Activity

          People

            niclas Niclas Hedhman
            gbrown Gregory K. Brown
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: