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

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

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported: