Skip to content

SetPlaceholder is invalid and does not display placeholders #1192

@potato-security

Description

@potato-security

<CodeArea fx:id="result3" prefWidth="300" preHeight="300"/>

@FXML
private CodeArea result3;

@FXML
void initialize() throws IOException {
    TextFlow placeholder = new TextFlow (new Text ("myText"));
    result3.setPlaceholder(placeholder, Pos.CENTER);
}

Do not display placeholder characters,Why is this? Did I make a spelling mistake?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions