# HG changeset patch # User Olaf Wintermann # Date 1761657946 -3600 # Node ID e0bbf466915f4b403356efdb233531c0a18ee21f # Parent 9c99ff36513f48065abf5c3334518de2650806ad fix textfield style (win32) diff -r 9c99ff36513f -r e0bbf466915f ui/win32/text.c --- a/ui/win32/text.c Tue Oct 28 13:53:59 2025 +0100 +++ b/ui/win32/text.c Tue Oct 28 14:25:46 2025 +0100 @@ -44,10 +44,11 @@ int width = args->width >= 0 ? args->width : 100; - HWND hwnd = CreateWindow( + HWND hwnd = CreateWindowEx( + WS_EX_CLIENTEDGE, "EDIT", "", - WS_VISIBLE | WS_CHILD | WS_BORDER | ES_LEFT | ES_AUTOHSCROLL, + WS_VISIBLE | WS_CHILD | ES_LEFT | ES_AUTOHSCROLL, 0, 0, width, 25, parent, (HMENU)0,