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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 8
    • Affects Version/s: fx2.1
    • Component/s: 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

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

              Created:
              Updated:
              Resolved:
              Imported: