diff options
| author | Pietro Gagliardi <[email protected]> | 2014-02-14 22:10:35 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-02-14 22:10:35 -0500 |
| commit | ffe90eb659b67b1b857b6a36009a7618a03624db (patch) | |
| tree | 9da9b4fed5d1527863fde95d377e9c999e46dc11 | |
| parent | 6f819f60d8d47dea37ec7bf076607d4b4ea22dcb (diff) | |
Added scrollbars to Listbox.
| -rw-r--r-- | sysdata_windows.go | 5 | ||||
| -rw-r--r-- | todo.md | 1 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sysdata_windows.go b/sysdata_windows.go index 16a5069..5c1345d 100644 --- a/sysdata_windows.go +++ b/sysdata_windows.go @@ -68,9 +68,10 @@ var classTypes = [nctypes]*classData{ }, c_listbox: &classData{ name: "LISTBOX", - style: 0 | controlstyle, + // TODO also _WS_HSCROLL? + style: _WS_VSCROLL | controlstyle, xstyle: 0 | controlxstyle, - altStyle: _LBS_EXTENDEDSEL | controlstyle, + altStyle: _LBS_EXTENDEDSEL | _WS_VSCROLL | controlstyle, appendMsg: _LB_ADDSTRING, insertAfterMsg: _LB_INSERTSTRING, deleteMsg: _LB_DELETESTRING, @@ -9,7 +9,6 @@ so I don't forget: - password entry fields, character-limited entry fields, numeric entry fields, multiline entry fields - possible rename of LineEdit? - more flexible size appropriation: allow a small button to be at the top of everything in the main() example here -- scrollbars on listboxes (shouldn't they be automatic? or is that just wine being dumb?) - [Windows] should ListBox have a border style? - padding and spacing in Stack; maybe a setting in Stack which keeps controls at their preferred size? - change Stack/Combobox/Listbox constructors so that there's a separate constructor for each variant, rather than passing in parameters? |
