Skip to content

Commit

Permalink
[Windows] Ensure vertical scrolling is enabled when EditBox is in mul…
Browse files Browse the repository at this point in the history
…tiline mode (#2374)

Ensure vertical scrolling is enabled when EditBox is in multiline mode
  • Loading branch information
rh101 authored Feb 6, 2025
1 parent 52ff468 commit c82e892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/ui/UIEditBox/UIEditBoxImpl-win32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ void EditBoxImplWin::createEditCtrl(bool singleLine)
_hwndEdit = ::CreateWindowExW(WS_EX_CLIENTEDGE, L"EDIT", // predefined class
NULL, // no window title
WS_CHILD | ES_LEFT | WS_BORDER | WS_EX_TRANSPARENT | WS_TABSTOP | ES_AUTOHSCROLL |
(singleLine ? 0 : ES_MULTILINE),
(singleLine ? 0 : ES_AUTOVSCROLL | ES_MULTILINE),
0, 0, 0,
0, // set size in WM_SIZE message
s_hwndCocos, // parent window
Expand Down

0 comments on commit c82e892

Please sign in to comment.