diff options
| author | Pietro Gagliardi <[email protected]> | 2014-04-13 01:59:45 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-04-13 02:00:18 -0400 |
| commit | dcc21eb0878f2b1a1d1e6f8c3f135d76e1f1fb90 (patch) | |
| tree | 8a4c52ef89b5f3d404378ce25df6cfa49fec994b | |
| parent | 3fc2ed8a2ada0ef7914d684e524838f63eb1cd1a (diff) | |
Pinned down horizontal scrollbar behavior on Listboxes; also reworded the Area scrollbar behavior sentence a bit to match. Now to actually implement the changes...
| -rw-r--r-- | area.go | 2 | ||||
| -rw-r--r-- | listbox.go | 3 |
2 files changed, 2 insertions, 3 deletions
@@ -11,7 +11,7 @@ import ( ) // Area represents a blank canvas upon which programs may draw anything and receive arbitrary events from the user. -// An Area has an explicit size, represented in pixels, that may be different from the size shown in its Window; Areas have horizontal and vertical scrollbars that are hidden when not needed. +// An Area has an explicit size, represented in pixels, that may be different from the size shown in its Window; Areas have both horizontal and vertical scrollbars that are hidden when not needed. // The coordinate system of an Area always has an origin of (0,0) which maps to the top-left corner; all image.Points and image.Rectangles sent across Area's channels conform to this. // The size of an Area must be at least 1x1 (that is, neither its width nor its height may be zero or negative). // @@ -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 |
