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

Tests for the contract of SkinBase.layoutChildren(..)

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • jfx22
    • jfx22
    • javafx
    • b14
    • generic
    • generic

      The SkinBase.layoutChildren(..) should have a test that verifies the contract of it.
      While not explicitly documented, this method will receive the snapped and correctly calculated x, y, width and height values, so that children of the Control can be layouted correctly without requiring to do many more calculations regarding padding.

      Originated from: https://github.com/openjdk/jfx/pull/1193#discussion_r1283798454

            mhanl Marius Hanl
            mhanl Marius Hanl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: