[API Review] : Baseline offset depends on layout bounds which are calculated during layout
Richard Bair
richard.bair at oracle.com
Tue Sep 3 08:56:12 PDT 2013
So how does the layout container ask for the computed baseline offset? It used to be, by calling this method.
Richard
On Sep 3, 2013, at 6:11 AM, Martin Sladecek <martin.sladecek at oracle.com> wrote:
> 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