Back to Makepad

Portallist

examples/uizoo/resources/portallist.md

1.0.0722 B
Original Source

PortalList

The PortalList widget efficiently handles large lists of items by only rendering the items currently visible in the viewport. It supports features like scrolling, flick scrolling, and alignment of items within the list. This is especially useful for implementing lists with a large number of items without compromising performance.

Attributes

  • align_top_when_empty (bool)
  • auto_tail (bool)
  • capture_overload (bool)
  • drag_scrolling (bool)
  • draw_caching (bool)
  • flick_scroll_minimum (float)
  • flick_scroll_maximum (float)
  • flick_scroll_scaling (float)
  • flick_scroll_decay (float)
  • grab_key_focus (bool)
  • keep_invisible (bool)
  • max_pull_down (float)
  • reuse_items (bool)
  • scroll_bar (ScrollBar)