Example usage for javafx.scene.control ButtonBase setMinSize

List of usage examples for javafx.scene.control ButtonBase setMinSize

Introduction

In this page you can find the example usage for javafx.scene.control ButtonBase setMinSize.

Prototype

public void setMinSize(double minWidth, double minHeight) 

Source Link

Document

Convenience method for overriding the region's computed minimum width and height.

Usage

From source file:org.sleuthkit.autopsy.timeline.ui.detailview.EventNodeBase.java

static void configureActionButton(ButtonBase b) {
    b.setMinSize(16, 16);
    b.setMaxSize(16, 16);
    b.setPrefSize(16, 16);
}