diff options
author | George Hazan <george.hazan@gmail.com> | 2024-03-17 12:29:48 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-03-17 12:29:48 +0300 |
commit | 31705a905d2fa6e81a3c8cc40c45e7c0366d6c49 (patch) | |
tree | 2bc072f0f897a13df4e4822f51adb3188120a592 /plugins/NewStory/src | |
parent | 0e27f730525aa2a0dceb46ecce326df9bf8af5a7 (diff) |
fixes #4285 (NewStory: прокрутка при редактировании реализована, но не работает)
Diffstat (limited to 'plugins/NewStory/src')
-rw-r--r-- | plugins/NewStory/src/history_control.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp index 473f9f99e1..d8ffc53c3d 100644 --- a/plugins/NewStory/src/history_control.cpp +++ b/plugins/NewStory/src/history_control.cpp @@ -244,7 +244,7 @@ void NewstoryListData::BeginEditItem() wszText.Replace(L"\n", L"\r\n");
uint32_t dwStyle = WS_CHILD | WS_BORDER | WS_VSCROLL | ES_MULTILINE | ES_AUTOVSCROLL;
- hwndEditBox = CreateWindow(L"EDIT", wszText, dwStyle, 0, top, rc.right - rc.left, itemHeight, m_hwnd, NULL, g_plugin.getInst(), NULL);
+ hwndEditBox = CreateWindow(L"EDIT", wszText, dwStyle, 0, top, rc.right - rc.left, height, m_hwnd, NULL, g_plugin.getInst(), NULL);
mir_subclassWindow(hwndEditBox, HistoryEditWndProc);
SendMessage(hwndEditBox, WM_SETFONT, (WPARAM)g_fontTable[fontid].hfnt, 0);
SendMessage(hwndEditBox, EM_SETMARGINS, EC_RIGHTMARGIN, 100);
|