Changes between Version 5 and Version 6 of ListBoxContents
- Timestamp:
- 06/28/10 12:37:51 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ListBoxContents
v5 v6 30 30 The `ListBox` remembers the visible location of its focus widget as either an "offset" or an "inset". 31 31 An offset is the number of rows between the top of the `ListBox` and the beginning of the focus widget. An offset of zero corresponds to a widget with its top aligned with the top of the `ListBox`. 32 An inset is the fraction of rows of the focus widget that are "above" the top of the `ListBox` and not visible. The `ListBox` uses this method of remembering the focus widget location so that when the ListBoxis resized the the text will remain roughly in the same position of the visible area.32 An inset is the fraction of rows of the focus widget that are "above" the top of the `ListBox` and not visible. The `ListBox` uses this method of remembering the focus widget location so that when the `ListBox` is resized the the text will remain roughly in the same position of the visible area. 33 33 34 34 When there are selectable widgets visible in the `ListBox` the focus will move between the selectable widgets, skipping the unselectable widgets. The `ListBox` will try to scroll all the rows of a selectable widget into view so that the user can see the new focus widget in its entirety. This behavior can be used to bring more than a single widget into view by using a `Pile` or other container widget to combine a selectable widget with other widgets that should be visible at the same time.
