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

z-index which does not influence the component order

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 8u25
    • Fix Version/s: tbd
    • Component/s: javafx

      Description

      Sometimes it is useful to have one node positioned over another node without changing the order of the nodes within the layout pane. An Example is the VBox. A change in the drawing order also affects the ordering/positioning inside the parent. A good example is a simple window with a menubar, some content and a footer in which the menubar and the footer should drop a shadow on the content.

      To avoid this issue one can use a GridPane instead (the components positioning does not depend on the order the components are added), but this is often overkill for the developer. A z-index like in the W3C specifications (change of the drawing order, but not of the layout order) would be highly welcome.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              toelgartejfx Tobias Oelgarte (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Imported: