Description
Currently only the layoutX and layoutY coordinates are used for rendering and click detection. This means layout panes must manually add each child’s translateX and translateY to their layout calculations.
This responsibility should not fall on layout panes. Instead, the framework should automatically calculate the sum of layout and translate coordinates. Keeping layout and translate as separate concepts while introducing new x/y coordinates (always reflecting the sum) would resolve this.
With this change, rendering and click detection would behave more predictably, especially for custom pane implementations, and layout panes would remain simpler and less error‑prone.
Description
Currently only the
layoutXandlayoutYcoordinates are used for rendering and click detection. This means layout panes must manually add each child’stranslateXandtranslateYto their layout calculations.This responsibility should not fall on layout panes. Instead, the framework should automatically calculate the sum of
layoutandtranslatecoordinates. Keeping layout and translate as separate concepts while introducing newx/ycoordinates (always reflecting the sum) would resolve this.With this change, rendering and click detection would behave more predictably, especially for custom pane implementations, and layout panes would remain simpler and less error‑prone.