- 
    Type:
Bug
 - 
    Resolution: Fixed
 - 
    Priority:
  P4                     
     - 
    Affects Version/s: 7u6
 - 
    Component/s: javafx
 - 
    None
 
                    Consider the following case:
Create a grid with two rows.
Place a button in the first row.
Increase the row span of the button to 2
Move the button in the second row: a third 'ghost' row appear.
This is conform to the GridPane API/spec - however the visual effect is strange.
In all cases we should try and avoid a new row/column being unexpectedly created in the GridPane.
If the user adds a rowspan that exceeds the remaining number of rows then the rowspan value should be rejected.
If the user increases a row index and the selected child has a row span that exceeds the remaining number of rows then the rowspan value should be decreased accordingly.
When we reject a rowspan or row index value maybe we should show a message?
Create a grid with two rows.
Place a button in the first row.
Increase the row span of the button to 2
Move the button in the second row: a third 'ghost' row appear.
This is conform to the GridPane API/spec - however the visual effect is strange.
In all cases we should try and avoid a new row/column being unexpectedly created in the GridPane.
If the user adds a rowspan that exceeds the remaining number of rows then the rowspan value should be rejected.
If the user increases a row index and the selected child has a row span that exceeds the remaining number of rows then the rowspan value should be decreased accordingly.
When we reject a rowspan or row index value maybe we should show a message?
- relates to
 - 
                    
JDK-8118587 GridPane: When moving an element to another cell in the GridPane, its spanning may need to be adjusted.
-         
     - Closed
 
 -