Fix layout of hyperlink

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
This commit is contained in:
HenrikJannsen 2025-01-30 17:19:53 +07:00
parent 91a3a5dc94
commit 28eeba59bd
No known key found for this signature in database
GPG key ID: 02AA2BAE387C8307

View file

@ -894,6 +894,7 @@ public abstract class Overlay<T extends Overlay<T>> {
Label label = new Label(String.format("[%d]", i + 1));
Hyperlink link = new Hyperlink(messageHyperlinks.get(i));
link.setOnAction(event -> GUIUtil.openWebPageNoPopup(link.getText()));
HBox.setMargin(link, new Insets(-2, 0, 0, 0));
footerBox.getChildren().addAll(new HBox(label, link));
}
}