Floating tooltips
Posted: 26 Feb 2019, 12:27
Hi,
In my project I've made tooltips for buttons with popup control. What is the best way to make the tooltip float depending on the position of the mouse cursor over the button. I've used
and
to put the tooltip in a right place on MouseEnter(). Should I use Canvas and seting RenderTransform to make it float as the cursor is moveing over button or the is a better way.
Thanks so much,
Aniak
In my project I've made tooltips for buttons with popup control. What is the best way to make the tooltip float depending on the position of the mouse cursor over the button. I've used
Code: Select all
popup->SetPlacementTarget(btn);
Code: Select all
popup->SetHorizontalOffset(btnWidth);
Thanks so much,
Aniak