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;
}
Aggregations