diff options
| author | Pietro Gagliardi <[email protected]> | 2014-07-26 07:02:19 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-07-26 07:02:19 -0400 |
| commit | 4c4235465eb0374452f99f491833c3e220cf39a7 (patch) | |
| tree | 9e3065bdb4efacf9463bf030cd559f834edd7749 /redo/controls_windows.go | |
| parent | 4515849e22e36caade729243879b7a81a4e5b5d5 (diff) | |
Made TextFields properly horizontally scrollable on Windows.
Diffstat (limited to 'redo/controls_windows.go')
| -rw-r--r-- | redo/controls_windows.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redo/controls_windows.go b/redo/controls_windows.go index 3d9da3e..2bbe64a 100644 --- a/redo/controls_windows.go +++ b/redo/controls_windows.go @@ -134,8 +134,8 @@ var editclass = toUTF16("EDIT") func startNewTextField(style C.DWORD) *textField { w := newWidget(editclass, - style | C.ES_LEFT | C.ES_NOHIDESEL | C.WS_BORDER | C.WS_TABSTOP, - C.WS_EX_CLIENTEDGE) + style | C.ES_AUTOHSCROLL | C.ES_LEFT | C.ES_NOHIDESEL | C.WS_BORDER | C.WS_TABSTOP, + C.WS_EX_CLIENTEDGE) // shows visual style-themed edit control borders (TODO get credit from old source) C.controlSetControlFont(w.hwnd) return &textField{ widgetbase: w, |
