TableView column resize problem

Sven Ehrke sven.ehrke at canoo.com
Fri Jul 26 11:16:47 PDT 2013


Hi, 

since b99 resizing of columns using the mouse on the column separators of the table header does not work smoothly anymore. The mouse 
even looses hold of the resize handle. With b97 this worked fine. 

This can be reproduced even without any items in the table: 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 

public class TableViewDemo2 extends Application { 

public static void main(String[] args) { 
launch(args); 
} 

@Override 
public void start(final Stage stage) throws Exception { 
stage.setTitle("TableView Demo"); 

final StackPane pane = new StackPane(); 

final TableView<Drug> tableView = new TableView<>(); 
final TableColumn<Drug, String> columnA = new TableColumn<>("A"); 
final TableColumn<Drug, String> columnB = new TableColumn<>("B"); 
tableView.getColumns().addAll(columnA, columnB); 
pane.getChildren().addAll(tableView); 

Scene scene = new Scene(pane, 300, 500, Color.DODGERBLUE); 
stage.setScene(scene); 
stage.show(); 
} 

} 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 

Is this already a known problem ? 

Thanks, 

Sven 


More information about the openjfx-dev mailing list