[NUI] Fix RelativeLayout to calculate ellipsis text from line target
It is commonly used that child view is positioned with its size from
line target in RelativeLayout.
If ellipsis text was positioned from line target in RelativeLayout, then
it was not positioned to the place where users intended.
e.g. Position textLabel at the bottom of parent.
The target is the bottom line of the parent.
RelativeLayout.SetTopTarget(textLabel, parent);
RelativeLayout.SetTopRelativeOffset(textLabel, 1.0f);
RelativeLayout.SetBottomTarget(textLabel, parent);
RelativeLayout.SetBottomRelativeOffset(textLabel, 1.0f);
RelativeLayout.SetVerticalAlignment(textLabel, RelativeLayout.Alignment.End);
Previously, in the above situation, RelativeLayout could not position
ellipsis text at the bottom of the parent.
Instead, the ellipsis text was positioned outside of the parent.
Now, in the above situation, RelativeLayout position ellipsis text at
the bottom of the parent.