2 Widgets, when focus lost hide other
-
wrote on 2 Dec 2020, 18:43 last edited by Emrecp 12 Feb 2020, 20:11
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.
-
Hi,
How are you positioning the widgets ?
-
wrote on 2 Dec 2020, 18:53 last edited by
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 ?
-
So it's in fact some sort of popup that you want to implement ?
-
Then you should position the pop manually liked you would with a contextual menu.
3/10