Skip to content

Commit

Permalink
-Better distribution of columns in ParameterViewer.
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo-gomez-windhover committed Feb 21, 2024
1 parent d89a989 commit 9bb79f4
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,10 @@ public Node getRootPane() {
public void initialize() {
tableView.setId("paramViewTable");

viewColumn.prefWidthProperty().bind(tableView.widthProperty().multiply(0.5));
pvColumn.prefWidthProperty().bind(tableView.widthProperty().multiply(0.5));
viewColumn.minWidthProperty().bind(tableView.widthProperty().multiply(0.5));
pvColumn.minWidthProperty().bind(tableView.widthProperty().multiply(0.5));
viewColumn.prefWidthProperty().bind(tableView.widthProperty().multiply(0.1));
pvColumn.prefWidthProperty().bind(tableView.widthProperty().multiply(0.9));
viewColumn.minWidthProperty().bind(tableView.widthProperty().multiply(0.1));
pvColumn.minWidthProperty().bind(tableView.widthProperty().multiply(0.9));
viewColumn.setCellValueFactory(cellData -> cellData.getValue().viewProperty());
viewColumn.setCellFactory(tc -> new CheckBoxTableCell<>());

Expand Down

0 comments on commit 9bb79f4

Please sign in to comment.