mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Improve layout for pending trades
This commit is contained in:
parent
9831d19849
commit
0017ccbd96
@ -609,6 +609,10 @@ tree-table-view:focused {
|
|||||||
-fx-font-size: 0.769em;
|
-fx-font-size: 0.769em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.medium-text {
|
||||||
|
-fx-font-size: 0.846em;
|
||||||
|
}
|
||||||
|
|
||||||
.normal-text {
|
.normal-text {
|
||||||
-fx-font-size: 0.923em;
|
-fx-font-size: 0.923em;
|
||||||
}
|
}
|
||||||
|
@ -305,7 +305,7 @@ public class PendingTradesView extends ActivatableViewAndModel<VBox, PendingTrad
|
|||||||
selectedSubView = model.dataModel.tradeManager.isBuyer(model.dataModel.getOffer()) ?
|
selectedSubView = model.dataModel.tradeManager.isBuyer(model.dataModel.getOffer()) ?
|
||||||
new BuyerSubView(model) : new SellerSubView(model);
|
new BuyerSubView(model) : new SellerSubView(model);
|
||||||
|
|
||||||
selectedSubView.setMinHeight(440);
|
selectedSubView.setMinHeight(460);
|
||||||
VBox.setVgrow(selectedSubView, Priority.ALWAYS);
|
VBox.setVgrow(selectedSubView, Priority.ALWAYS);
|
||||||
if (root.getChildren().size() == 2)
|
if (root.getChildren().size() == 2)
|
||||||
root.getChildren().add(selectedSubView);
|
root.getChildren().add(selectedSubView);
|
||||||
|
@ -108,6 +108,7 @@ public abstract class TradeSubView extends HBox {
|
|||||||
SimpleMarkdownLabel label = addSimpleMarkdownLabel(leftGridPane, ++leftGridPaneRowIndex);
|
SimpleMarkdownLabel label = addSimpleMarkdownLabel(leftGridPane, ++leftGridPaneRowIndex);
|
||||||
AutoTooltipButton button = (AutoTooltipButton) addButtonAfterGroup(leftGridPane, ++leftGridPaneRowIndex, "");
|
AutoTooltipButton button = (AutoTooltipButton) addButtonAfterGroup(leftGridPane, ++leftGridPaneRowIndex, "");
|
||||||
SimpleMarkdownLabel footerLabel = addSimpleMarkdownLabel(leftGridPane, ++leftGridPaneRowIndex, Res.get("portfolio.pending.stillNotResolved"), 10);
|
SimpleMarkdownLabel footerLabel = addSimpleMarkdownLabel(leftGridPane, ++leftGridPaneRowIndex, Res.get("portfolio.pending.stillNotResolved"), 10);
|
||||||
|
footerLabel.getStyleClass().add("medium-text");
|
||||||
tradeStepInfo = new TradeStepInfo(titledGroupBg, label, button, footerLabel);
|
tradeStepInfo = new TradeStepInfo(titledGroupBg, label, button, footerLabel);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user