Changeset View
Changeset View
Standalone View
Standalone View
source/components/tree.rst
Show First 20 Lines • Show All 58 Lines • ▼ Show 20 Line(s) | |||||
59 | - Use headers with a meaningful caption for each column. | 59 | - Use headers with a meaningful caption for each column. | ||
60 | - Avoid using empty trees. | 60 | - Avoid using empty trees. | ||
61 | - If the tree has alternative access methods such as a word search or | 61 | - If the tree has alternative access methods such as a word search or | ||
62 | an index, optimize the tree for browsing by focusing on the most | 62 | an index, optimize the tree for browsing by focusing on the most | ||
63 | useful content. | 63 | useful content. | ||
64 | 64 | | |||
65 | Multi selection: | 65 | Multi selection: | ||
66 | 66 | | |||
67 | - Use check boxes to indicate multiple selections. | 67 | - Use checkboxes to indicate multiple selections. | ||
68 | - For check boxes, use the mixed state to indicate that an option is | 68 | - For checkboxes, use the mixed state to indicate that an option is | ||
69 | set for some, but not all, child objects. Users should not be able to | 69 | set for some, but not all, child objects. Users should not be able to | ||
70 | set a mixed state directly (cf. :doc:`check boxes <checkbox>`). | 70 | set a mixed state directly (cf. :doc:`checkboxes <checkbox>`). | ||
71 | - Clicking a mixed state check box selects all child objects and the | 71 | - Clicking a mixed state checkbox selects all child objects and the | ||
72 | parent check box. | 72 | parent checkbox. | ||
73 | - Don’t use check boxes in single selection trees. | 73 | - Don’t use checkboxes in single selection trees. | ||
74 | 74 | | |||
75 | Appearance | 75 | Appearance | ||
76 | ~~~~~~~~~~ | 76 | ~~~~~~~~~~ | ||
77 | 77 | | |||
78 | - If high-level containers have similar contents, but have different | 78 | - If high-level containers have similar contents, but have different | ||
79 | purposes, consider using visual clues, e.g. icons to differentiate | 79 | purposes, consider using visual clues, e.g. icons to differentiate | ||
80 | between them. | 80 | between them. | ||
81 | - Use persistent tree view states so that users find the list the same | 81 | - Use persistent tree view states so that users find the list the same | ||
Show All 10 Lines |