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

A typo in the BorderPane class description

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 7u15
    • javafx
    • Windows

      The BorderPane class has the following list to describe the alignment of nodes in its five regions:

      top: Pos.TOP_LEFT
      bottom: Pos.BOTTOM_LEFT
      left: Pos.TOP_LEFT
      top: Pos.TOP_RIGHT
      center: Pos.CENTER

      The fourth item in the above list should read "right: Pos.TOP_RIGHT", not "top: Pos.TOP_RIGHT".

      There is another typo under the "Resizable Range" section of the BorderPane class. The description in the cell (row = preferred, column = width) contains the "display" word twice.

      Original text:
      "left/right insets plus width required to display display top/right/bottom/left/center children with at least their pref widths"

      Corrected text:
      "left/right insets plus width required to display top/right/bottom/left/center children with at least their pref widths"

            ekrejcir Eva Krejčířová (Inactive)
            ksharanjfx Kishori Sharan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: