mkpaz / atlantafx

Modern JavaFX CSS theme collection with additional controls.
https://mkpaz.github.io/atlantafx
MIT License
791 stars 64 forks source link

TileSkinBase title ChangeListener code is wrong #74

Closed qq528 closed 1 month ago

qq528 commented 1 year ago

` control.pseudoClassStateChanged(HAS_TITLE, control.getTitle() != null); registerChangeListener(control.titleProperty(), o -> {

        var value = getSkinnable().getDescription();// wrong

        titleLbl.setText(value);
        titleLbl.setVisible(value != null);
        titleLbl.setManaged(value != null);
        getSkinnable().pseudoClassStateChanged(HAS_TITLE, value != null);
    });

`

Patresss commented 9 months ago

Yep, it's a blocker for me: I can't set an internationalized string