摘要 |
Determining a total dimension of items in computer-based user interface control (e.g., non-uniform items displayed in grid-view), may be accomplished by determining an estimated dimension value (e.g., for all items in a series) and combining (e.g., multiplying) that value with a total number of items (e.g., items in the series). If a viewport offset value and viewport item value is known, and/or a previously realized dimension and previously realized item value is known, the estimated dimension value may be determined by combining one or more of these values with values for realized items. Otherwise, the estimated dimension value can be determined by dividing the realized items dimensions value by the number of realized items. A total dimension value may be used by a user interface element, for example, to calculate an appropriate size and location of a scroll bar display.
|