mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 15:10:44 +01:00
Use AutoTooltipLabel as type in FormBuilder.addHBoxLabelComboBox
This commit is contained in:
parent
0df3cccc02
commit
bc009ad2f2
2 changed files with 3 additions and 4 deletions
|
@ -100,7 +100,6 @@ import java.util.Optional;
|
|||
|
||||
import static bisq.desktop.util.FormBuilder.addButton;
|
||||
import static bisq.desktop.util.FormBuilder.addHBoxLabelComboBox;
|
||||
import static bisq.desktop.util.FormBuilder.addLabelComboBox;
|
||||
import static bisq.desktop.util.FormBuilder.addTitledGroupBg;
|
||||
|
||||
@FxmlView
|
||||
|
@ -151,7 +150,7 @@ public class OfferBookView extends ActivatableViewAndModel<GridPane, OfferBookVi
|
|||
|
||||
addTitledGroupBg(root, gridRow, 3, Res.get("offerbook.availableOffers"));
|
||||
|
||||
final Tuple3<HBox, Label, ComboBox> filterBoxTuple = addHBoxLabelComboBox(root, gridRow, Res.get("offerbook.filterByCurrency"), Layout.FIRST_ROW_DISTANCE);
|
||||
final Tuple3<HBox, AutoTooltipLabel, ComboBox> filterBoxTuple = addHBoxLabelComboBox(root, gridRow, Res.get("offerbook.filterByCurrency"), Layout.FIRST_ROW_DISTANCE);
|
||||
final HBox filterBox = filterBoxTuple.first;
|
||||
currencyComboBox = filterBoxTuple.third;
|
||||
currencyComboBox.setPromptText(Res.get("list.currency.select"));
|
||||
|
|
|
@ -658,10 +658,10 @@ public class FormBuilder {
|
|||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
// HBox + Label + ComboBox
|
||||
// HBox + AutoTooltipLabel + ComboBox
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
public static Tuple3<HBox, Label, ComboBox> addHBoxLabelComboBox(GridPane gridPane, int rowIndex, String title, double top) {
|
||||
public static Tuple3<HBox, AutoTooltipLabel, ComboBox> addHBoxLabelComboBox(GridPane gridPane, int rowIndex, String title, double top) {
|
||||
HBox hBox = new HBox();
|
||||
hBox.setAlignment(Pos.CENTER_LEFT);
|
||||
hBox.setSpacing(4);
|
||||
|
|
Loading…
Add table
Reference in a new issue