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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8u20
    • 8
    • javafx
    • None

      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.

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

              Created:
              Updated:
              Resolved:
              Imported: