mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
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:
parent
37b37b1558
commit
2ee2c4ca53
1 changed files with 2 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue