atlantafx icon indicating copy to clipboard operation
atlantafx copied to clipboard

TileSkinBase title ChangeListener code is wrong

Open qq528 opened this issue 2 years ago • 1 comments

` 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);
    });

`

qq528 avatar Sep 01 '23 03:09 qq528

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

Patresss avatar Dec 04 '23 07:12 Patresss