Example usage for javafx.scene.layout Region minWidthProperty

List of usage examples for javafx.scene.layout Region minWidthProperty

Introduction

In this page you can find the example usage for javafx.scene.layout Region minWidthProperty.

Prototype

public final DoubleProperty minWidthProperty() 

Source Link

Usage

From source file:mesclasses.view.TimetableController.java

private void bindWidth(Region node, Pane parent, int divider) {
    node.minWidthProperty().bind(parent.widthProperty().divide(divider));
    node.prefWidthProperty().bind(parent.widthProperty().divide(divider));
    node.maxWidthProperty().bind(parent.widthProperty().divide(divider));
}