List of usage examples for javafx.scene.layout RowConstraints setMinHeight
public final void setMinHeight(double value)
From source file:de.ks.text.AsciiDocEditor.java
public void hideActionBar() { RowConstraints rowConstraints = mainPane.getRowConstraints().get(1); rowConstraints.setMinHeight(0.0); rowConstraints.setPrefHeight(0.0);/* www . jav a 2 s. c o m*/ rowConstraints.setMaxHeight(0.0); }
From source file:mesclasses.view.JourneeController.java
private void drawEleveName(SmartGrid grid, Eleve eleve, int rowIndex) { //index debute 1, le slot 0,X est rserv pour un separator dans le header grid.add(NodeUtil.buildEleveLink(eleve, eleve.lastNameProperty(), Constants.JOURNEE_VIEW), 1, rowIndex, HPos.LEFT);/*from w w w.jav a 2s . c om*/ grid.add(NodeUtil.buildEleveLink(eleve, eleve.firstNameProperty(), Constants.JOURNEE_VIEW), 2, rowIndex, HPos.LEFT); RowConstraints rc = new RowConstraints(); rc.setMinHeight(35.0); rc.setPrefHeight(35.0); rc.setMaxHeight(35.0); grid.getRowConstraints().add(rc); if (!eleve.isInClasse(currentDate.getValue())) { grid.add(new Label("ne faisait pas partie de la classe cette date"), 3, rowIndex, vieScolaireGrid.getGridWidth() - 3, 1); } }