summaryrefslogtreecommitdiff
path: root/listbox.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-04-10 16:18:53 -0400
committerPietro Gagliardi <[email protected]>2014-04-10 16:18:53 -0400
commit09e92b0eb35e45b1cc18f295b2467ca5703fcca0 (patch)
treeba21a5f1e215fbd1bcc36e7fd976300cf25186f7 /listbox.go
parent7b8580b12df0a47311200293decbb700a368ba74 (diff)
Documented scrollbars on Listbox and Area to the best of my ability, shuffling the appropriate TODOs around.
Diffstat (limited to 'listbox.go')
-rw-r--r--listbox.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/listbox.go b/listbox.go
index 111d790..92067c0 100644
--- a/listbox.go
+++ b/listbox.go
@@ -9,6 +9,8 @@ import (
// A Listbox is a vertical list of items, of which either at most one or any number of items can be selected at any given time.
// On creation, no item is selected.
+// Listboxes have vertical scrollbars that are hidden when not needed.
+// [TODO decide horizontal scrollbar behavior; only the Windows HIG explicitly says to do anything about them (in their case, avoid them unless the control has lots of info and is wide enough, such as a multi-column list) (the Mac OS X one says to just make lists wide enough and ellipsize if needed)]
type Listbox struct {
// TODO Select event