[API Review] : Baseline offset depends on layout bounds which are calculated during layout

Martin Sladecek martin.sladecek at oracle.com
Tue Sep 3 06:11:23 PDT 2013


Hi,
related JIRA issue: https://javafx-jira.kenai.com/browse/RT-31006

I propose to add constant "public static final double 
USE_COMPUTED_BASELINE_OFFSET" to Node class.

This would be returned by the default Node implementation of 
getBaselineOffset. Currently, the layout bounds are returned, but they 
are not computed at the time getBaselineOffset is called, which leads to 
incorrect layout and other problems (see more in description of the issue).

Thanks,
-Martin


More information about the openjfx-dev mailing list