Test for tool tip view rect sizing

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40215 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Marcian Lytwyn 2016-11-11 01:18:25 +00:00
parent 37b37b1558
commit 2ee2c4ca53

View file

@ -644,6 +644,7 @@ static BOOL restoreMouseMoved;
textSize = [toolTipText size];
// TESTPLANT-MAL-03092016: Merged...
#if 0
if (textSize.width > 300)
{
NSRect rect;
@ -653,6 +654,7 @@ static BOOL restoreMouseMoved;
// This extra pixel is needed, otherwise the last line gets cut off.
textSize.height += 1;
}
#endif
/* Create window just off the current mouse position
* Constrain it to be on screen, shrinking if necessary.