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

Introduce a method that would be called just before compute* methods to do computations that can affect min/pref size

    XMLWordPrintable

    Details

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

      Description

      Some controls (and possibly user-defined Panes) might need to modify children or do other computations at the layout pass. Currently, the best practice is to hook on the compute* methods and layoutChildren and do/validate the computation there.

      We could introduce some mechanism that would simplify this use-case.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              msladecek Martin Sládeček
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Imported: