Odd behaviour of label.enter event
Posted
#1
(In Topic #205)
Regular

I've maximised the screen and have a balloon of extra information when the pointer enters the label.
This works for labels in the upper two thirds (approx) of the screen, below that, only the very top most part of the label responds to the 'on enter' event.
This isn't a big problem but I'd be interested to hear any views
Posted
Regular

I think switching from gb.gtk to gb.qt4 solved the problem, so it might be worth experimenting with this.
Posted
Regular

I'm using QT4/5, tried a simple project (without so many labels but still QT4/5) and the .enter works fine.
I'll try some more angles
Posted
Guru

Have a look at the code and see if it helps. If not can you post some code to demonstrate the problem.
Posted
Regular

But . . . . .
I have been using the .enter event to show an information balloon, I need the balloon to show for as long as the pointer is inside the label. I achieved this by calling balloon.hide on the .leave event. It's the .hide function causing the problem. If I create two labels, one at the top and one at the bottom of the (full) screen the the lower label responds in an odd way with the balloon.hide feature, If I leave this feature out then the behaviour is normal.
Now my problem is how to achieve the balloon behaviour that I want.
Thanks again
Posted
Guru

Posted
Regular

1 guest and 0 members have just viewed this.


