changeset 1403:20c6d0c50c94

Need to make the tooltip rect the max possible control size.. otherwise it might get clipped. using 2000x2000 for now... should be good enough for most situations.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Mon, 28 Nov 2011 05:49:27 +0000
parents 8ff5b05318fb
children 56f311dc23f6
files win/dw.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/win/dw.c	Sun Nov 27 22:31:28 2011 +0000
+++ b/win/dw.c	Mon Nov 28 05:49:27 2011 +0000
@@ -3556,7 +3556,7 @@
         ti.hwnd = handle;
         ti.hinst = DWInstance;
         ti.lpszText = text;
-        ti.rect.right = ti.rect.bottom = 500;
+        ti.rect.right = ti.rect.bottom = 2000;
 
         /* Associate the tooltip with the "tool" window. */
         SendMessage(hwndTT, TTM_ADDTOOL, 0, (LPARAM) (LPTOOLINFO) &ti);