Unsolved 2 Widgets, when focus lost hide other
-
Hi,
Video
I Have 2 widgets. When I Hover Mouse to Widget1, widget2 showing when leaveEvent on Widget1, Widget2 hiding. That's works fine.But in picture as you see there is 10px space between widget1 and widget2. So while moving mouse from widget1 to widget2, shouldn't hide widget2. I need only hide widget2 when mouse not in WIDGET1 and WIDGET2. So I need to implement this 10px as in widget.
Thanks!
-
Hi,
How are you positioning the widgets ?
-
Can you get rid of the spacing make each widget have a border region? So technically the widgets are occupying the space in between? Or use a region surrounding both widgets to control visibility.
-
-
Are you implementing a sys tray icon ?
-
@SGaist No. As you see in video, I want to scroll down list but when i move to list, list hiding because widget1 leaveEvent.
-
So it's in fact some sort of popup that you want to implement ?
-
@SGaist Yes, if you watch video you will see. I want to popup widget.
-
Then you should position the pop manually liked you would with a contextual menu.
-
@Emrecp How about a variable or if statement in either mouse over/leave event that checks if the mouse is in the second widget?