Fix Notification text width #56

This commit is contained in:
mkpaz 2023-06-17 14:48:39 +04:00
parent 0e6987d4c7
commit e2b75ab556

@ -58,7 +58,7 @@ public class NotificationSkin extends SkinBase<Notification> {
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 ==