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

Default L&F of input Textfields appear set to NOT editable or disabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 7u25
    • javafx
    • JavaFX Windows XP, 7, Java 7.25

      After building my UI, I gave my UI to a person to test. At the input Textfields, he stopped bewildered. The boxes looked set to NOT editable or disabled. Some else at a review mentioned the same thing. Please make the border darker or do something else so it does not appear disabled!
      I tried pulling this out from caspian.css and changed to the following and pasted it into a css file in my src directory, but it made no difference.

      root {
             /* Darker than -fx-background and used to draw boxes around text boxes and
           * password boxes.
           */
          -fx-text-box-border: ladder(
              -fx-background,
              black 10%,
              derive(-fx-background, -75%) 90%
          );
      }

            mchicharro Moises Chicharro
            aphilipjfx Anil Philip (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: