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

z-index which does not influence the component order

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 8u25
    • javafx

      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.

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

              Created:
              Updated:
              Imported: