diff --git a/base/src/main/java/atlantafx/base/controls/NotificationSkin.java b/base/src/main/java/atlantafx/base/controls/NotificationSkin.java index f62bb0c..73cf4c9 100644 --- a/base/src/main/java/atlantafx/base/controls/NotificationSkin.java +++ b/base/src/main/java/atlantafx/base/controls/NotificationSkin.java @@ -58,7 +58,7 @@ public class NotificationSkin extends SkinBase { registerChangeListener(control.messageProperty(), o -> setMessageText()); // text wrapping won't work without this - messageText.setMaxWidth(Region.USE_PREF_SIZE); + messageText.setMaxWidth(Double.MAX_VALUE); messageText.setMinHeight(Region.USE_PREF_SIZE); // == TOP BUTTONS ==