Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8127615

PromptText alignment is always left, even with the center-aligned text field.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • fx2.1
    • javafx

      TextField textField = new TextField();
      textField .setPromptText("0");
      textField .setAlignment(Pos.CENTER);
      textField .setPrefColumnCount(10);

      In this case the PromptText had to follow the alignment of text

            leifs Leif Samuelsson (Inactive)
            gstiwesjfx giovanni stiwes (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: