Use ToolTip's parent layout margins when calculating the x-position of ToolTipView.