Example usage for javafx.scene.control ButtonBase setMaxSize

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

Introduction

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

Prototype

public void setMaxSize(double maxWidth, double maxHeight) 

Source Link

Document

Convenience method for overriding the region's computed maximum 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);
}