-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support relative scroll for ListBox (#858)
* Support relative scroll for ListBox * By default use relative scroll if amount_of_widgets >= maxrow * 3 * Simplify typing for `calculate_visible` * Expose `calculate_visible` types on the listbox module level * Support scroll for `TreeListBox` * narrower `ScrollSupportingBody` API and rework `rows_max` --------- Co-authored-by: Aleksei Stepanov <alekseis@nvidia.com>
- Loading branch information
1 parent
18d4236
commit ca18cf5
Showing
5 changed files
with
240 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.