summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Tatarinov <tatarinov.sergey@gmail.com>2013-05-22 15:43:24 +0000
committerSergey Tatarinov <tatarinov.sergey@gmail.com>2013-05-22 15:43:24 +0000
commitd713f88ef3c639eba7211fdd59ec8f34b1ba6fa9 (patch)
treed3f187f98dd4b518a0ac56a1925e49c7df242ce1
parent9d34e1ee7a77bdeb0fa50bdbc1dfd19527ea5ea3 (diff)
Fixed tooltips in the options dialogs
git-svn-id: http://svn.miranda-ng.org/main/trunk@4803 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/Db_autobackups/src/main.cpp4
-rw-r--r--plugins/TabSRMM/src/chat/options.cpp3
2 files changed, 4 insertions, 3 deletions
diff --git a/plugins/Db_autobackups/src/main.cpp b/plugins/Db_autobackups/src/main.cpp
index 5566dc0b51..4edc3dfbad 100644
--- a/plugins/Db_autobackups/src/main.cpp
+++ b/plugins/Db_autobackups/src/main.cpp
@@ -167,10 +167,10 @@ HWND CreateToolTip(HWND hwndParent, LPTSTR ptszText, LPTSTR ptszTitle)
ti.hinst = hInst;
ti.lpszText = ptszText;
GetClientRect (hwndParent, &ti.rect);
- ti.rect.left -= 80;
+ ti.rect.left = -80;
SendMessage(hwndTT, TTM_ADDTOOL, 0, (LPARAM) (LPTOOLINFO) &ti);
SendMessage(hwndTT, TTM_SETTITLE, 1, (LPARAM)ptszTitle);
- SendMessage(hwndTT, TTM_SETMAXTIPWIDTH, 0, (LPARAM)700);
+ SendMessage(hwndTT, TTM_SETMAXTIPWIDTH, 0, (LPARAM)650);
return hwndTT;
} \ No newline at end of file
diff --git a/plugins/TabSRMM/src/chat/options.cpp b/plugins/TabSRMM/src/chat/options.cpp
index 5ee517ae48..2004b5e9a4 100644
--- a/plugins/TabSRMM/src/chat/options.cpp
+++ b/plugins/TabSRMM/src/chat/options.cpp
@@ -485,10 +485,11 @@ HWND CreateToolTip(HWND hwndParent, LPTSTR ptszText, LPTSTR ptszTitle)
ti.hinst = g_hInst;
ti.lpszText = ptszText;
GetClientRect (hwndParent, &ti.rect);
- ti.rect.left =- 85;
+ ti.rect.left = -65;
SendMessage(hwndTT, TTM_ADDTOOL, 0, (LPARAM)(LPTOOLINFO) &ti);
SendMessage(hwndTT, TTM_SETTITLE, 1, (LPARAM)ptszTitle);
+ SendMessage(hwndTT, TTM_SETMAXTIPWIDTH, 0, (LPARAM)640);
return hwndTT;
}