Added scrollbars to Listbox.

This commit is contained in:
Pietro Gagliardi 2014-02-14 22:10:35 -05:00
parent 6f819f60d8
commit ffe90eb659
2 changed files with 3 additions and 3 deletions

View File

@ -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,

View File

@ -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?