-
Enhancement
-
Resolution: Fixed
-
P4
-
7u15
-
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"
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"