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

Add style class "text" to Text nodes inside control skins.

XMLWordPrintable

      We need a constant way to mark nodes in skins that can be addressed by CSS. At the moment the only case were we style nodes that do not have a style class is for Text nodes inside Buttons, Labels etc. So I propose we add the style class "text" to the text nodes inside all UI controls so they can be addressed.

      This is needed for tooling, i.e. SceneBuilder so we can expose the css styleable nodes.

      Also once we have this it can be used in caspian.css to clean up rules for applying LCD text smoothing to not use the node class "Text" any more.

            jgiles Jonathan Giles
            jasper Jasper Potts (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: