fix: update title label to use display name directly (#5152)
This commit is contained in:
@@ -87,7 +87,7 @@ public final class MessageDialogPane extends HBox {
|
|||||||
{
|
{
|
||||||
StackPane titlePane = new StackPane();
|
StackPane titlePane = new StackPane();
|
||||||
titlePane.getStyleClass().addAll("jfx-layout-heading", "title");
|
titlePane.getStyleClass().addAll("jfx-layout-heading", "title");
|
||||||
titlePane.getChildren().setAll(new Label(title != null ? title : i18n(type.getDisplayName())));
|
titlePane.getChildren().setAll(new Label(title != null ? title : type.getDisplayName()));
|
||||||
|
|
||||||
StackPane content = new StackPane();
|
StackPane content = new StackPane();
|
||||||
content.getStyleClass().add("jfx-layout-body");
|
content.getStyleClass().add("jfx-layout-body");
|
||||||
|
|||||||
Reference in New Issue
Block a user