From 09e92b0eb35e45b1cc18f295b2467ca5703fcca0 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 10 Apr 2014 16:18:53 -0400 Subject: Documented scrollbars on Listbox and Area to the best of my ability, shuffling the appropriate TODOs around. --- listbox.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'listbox.go') 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 -- cgit v1.2.3