[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about ToolTips
From: |
A. Arias |
Subject: |
Re: Question about ToolTips |
Date: |
Sun, 02 Sep 2012 16:44:44 -0600 |
After examining this, I think is a bad idea try to use -mouseMoved:,
since the NSButton class is made to get the mouse events independently
of if is a subview of another view. So I will use the method
-addToolTipRect:owner:userData:, that is the correct way. Regards.
El dom, 02-09-2012 a las 13:11 +0000, Steve Van Voorst escribió:
> <<Other point is that buttons are side by side (in touch). I suppose
> that if I leave an space between buttons, this will solve the problem.
> But I don't want do that.>>
>
> ToolTips should still work correctly even if the buttons are touching
> each other. To test, change the button width from 95 to 100 in the
> demo.
>
> Steve Van Voorst