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