From dcc21eb0878f2b1a1d1e6f8c3f135d76e1f1fb90 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 13 Apr 2014 01:59:45 -0400 Subject: Pinned down horizontal scrollbar behavior on Listboxes; also reworded the Area scrollbar behavior sentence a bit to match. Now to actually implement the changes... --- listbox.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'listbox.go') diff --git a/listbox.go b/listbox.go index 7c11f78..4e26d3d 100644 --- a/listbox.go +++ b/listbox.go @@ -9,8 +9,7 @@ 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)] +// Listboxes have both horizontal and vertical scrollbars that are hidden when not needed. type Listbox struct { // TODO Select event -- cgit v1.2.3