Page 1 of 1

GadgetToolTip location

Posted: Wed Nov 02, 2016 4:36 pm
by spidernet
Hello,

GadgetToolTip pop up always on the right side of the gadget. If you have for example buttons in horizonal row with tooltips,
the tooltip can hide part of another gadgets and the tooltip itself can be hard to read.
"#ToolTipPosition" flag would be useful to control what side of the gadget tooltip pop up.

In this example can't read text of the Button2 when Button1's tooltip is opened:

Code: Select all

 If OpenWindow(0, 0, 0, 270, 100, "GadgetTooltip", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
   ButtonGadget(0, 10, 30, 50, 30, "Button1")
   ButtonGadget(1, 70, 30, 50, 30, "Button2")
   GadgetToolTip(0, "Tooltip for Button1")
  EndIf

Re: GadgetToolTip location

Posted: Wed Nov 02, 2016 4:53 pm
by falsam
In this example can't read text of the Button2 when Button1's tooltip is opened:
I dare? . Move the mouse ^^

PS : i'm go away far away ....

Re: GadgetToolTip location

Posted: Wed Nov 02, 2016 5:20 pm
by spidernet
Hello,

Depend on the UI of the application this could be cosmetic issue or annoying behavior.
Yes can move the mouse ;) but users are happier if not put them to move the mouse to see all the icons or buttons under the tooltip.