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

[CSS] BorderPane and inheritance of BorderPane rendered differently in Accordion

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8u20
    • Component/s: javafx
    • Labels:
      None

      Description

      When setting LayoutNodes (i.e. BorderLayout, HBox, ...) as the content of TitledPanes in an Accordion a padding of 0.8em is added to the LayoutNodes.

      If the LayoutNode is an inherited from the default Layout Node classes that padding is not added. It seems that

      .titled-pane > * > * > BorderPane,

      is not applied to objects inherited from BorderPane. This can lead to inconsistent and unintended UIs.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dgrieve David Grieve
              Reporter:
              mklahnjfx Martin Klahn (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: