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

Support object oriented approach to styling UI components

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 8
    • fx2.0
    • javafx

    Description

      The Text class has a setFill method for controlling the color of the text. I suggest this same method should also be part of TextField and TextArea, because no matter if the text is editable or not, the developer should still be able to set the fill color. This issue relates to the other issue I created about adding a setAlignment method to these classes as well. In general I suggest you take a good look at the three classes Text, TextField, and TextArea, and try to make them similar - that will make it much easier for application developers to work with.

      Attachments

        Activity

          People

            rbair Richard Bair (Inactive)
            risaksen Randahl Isaksen
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: