mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-09 00:09:32 -04:00
remove inconsistent padding on trade feedback window
This commit is contained in:
parent
52f3c0c8f3
commit
c2361ba62c
1 changed files with 12 additions and 1 deletions
|
@ -40,7 +40,7 @@ public class TradeFeedbackWindow extends Overlay<TradeFeedbackWindow> {
|
|||
@Override
|
||||
public void show() {
|
||||
headLine(Res.get("tradeFeedbackWindow.title"));
|
||||
message(Res.get("tradeFeedbackWindow.msg.part1"));
|
||||
//message(Res.get("tradeFeedbackWindow.msg.part1")); // TODO: this message part has padding which remaining message does not have
|
||||
hideCloseButton();
|
||||
actionButtonText(Res.get("shared.close"));
|
||||
|
||||
|
@ -51,6 +51,17 @@ public class TradeFeedbackWindow extends Overlay<TradeFeedbackWindow> {
|
|||
protected void addMessage() {
|
||||
super.addMessage();
|
||||
|
||||
AutoTooltipLabel messageLabel1 = new AutoTooltipLabel(Res.get("tradeFeedbackWindow.msg.part1"));
|
||||
messageLabel1.setMouseTransparent(true);
|
||||
messageLabel1.setWrapText(true);
|
||||
GridPane.setHalignment(messageLabel1, HPos.LEFT);
|
||||
GridPane.setHgrow(messageLabel1, Priority.ALWAYS);
|
||||
GridPane.setRowIndex(messageLabel1, ++rowIndex);
|
||||
GridPane.setColumnIndex(messageLabel1, 0);
|
||||
GridPane.setColumnSpan(messageLabel1, 2);
|
||||
gridPane.getChildren().add(messageLabel1);
|
||||
GridPane.setMargin(messageLabel1, new Insets(10, 0, 10, 0));
|
||||
|
||||
AutoTooltipLabel messageLabel2 = new AutoTooltipLabel(Res.get("tradeFeedbackWindow.msg.part2"));
|
||||
messageLabel2.setMouseTransparent(true);
|
||||
messageLabel2.setWrapText(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue