Search in sources :

Example 1 with AutoTooltipToggleButton

use of bisq.desktop.components.AutoTooltipToggleButton in project bisq-desktop by bisq-network.

the class TradesChartsView method getToggleButton.

private ToggleButton getToggleButton(String label, TradesChartsViewModel.TickUnit tickUnit, ToggleGroup toggleGroup, String style) {
    ToggleButton toggleButton = new AutoTooltipToggleButton(label);
    toggleButton.setPadding(new Insets(0, 5, 0, 5));
    toggleButton.setUserData(tickUnit);
    toggleButton.setToggleGroup(toggleGroup);
    toggleButton.setId(style);
    return toggleButton;
}
Also used : ToggleButton(javafx.scene.control.ToggleButton) AutoTooltipToggleButton(bisq.desktop.components.AutoTooltipToggleButton) Insets(javafx.geometry.Insets) AutoTooltipToggleButton(bisq.desktop.components.AutoTooltipToggleButton)

Aggregations

AutoTooltipToggleButton (bisq.desktop.components.AutoTooltipToggleButton)1 Insets (javafx.geometry.Insets)1 ToggleButton (javafx.scene.control.ToggleButton)1