[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tooltip can be displayed outside the screen

From: Jan Djärv
Subject: Re: tooltip can be displayed outside the screen
Date: Wed, 14 Dec 2005 22:01:25 +0100
User-agent: Mozilla Thunderbird 1.0.7 (Macintosh/20050923)

Juri Linkov wrote:

One idea that came to me is that negative offsets could be interpreted
as absolute distances between the X (Y) position of the mouse and the
right (bottom) border of the tooltip frame (and to leave positive offsets
relative to the left (top) border as they work now).  This way no matter
what values offsets will have, the tooltip frame will never cover the mouse
pointer.  And this will work exactly the same way as currently calculations
behave to avoid the tooltip displayed outside the screen (i.e. negating the
interpretation of offsets to opposite sides of the tooltip frame).

That seems to complicated. I just fixed so negative offsets is handeled OK.

        Jan D.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]