Module controls.scrollpanel

ScrollPanel module

Functions

ScrollPanel:SetScrollPos (x, y) Sets the scroll position

Tables

ScrollPanel ScrollPanel fields.


Functions

ScrollPanel:SetScrollPos (x, y)
Sets the scroll position

Parameters:

  • x int x position
  • y int y position

Tables

ScrollPanel
ScrollPanel fields. Inherits from Control.

Fields:

  • scrollBarSize int size of the scrollbar (default 12)
  • scrollPosX int position of the scrollbar (default 0)
  • scrollPosY int position of the scrollbar (default 0)
  • verticalScrollbar bool the vertical scroll bar is enabled (default true)
  • horizontalScrollbar bool the horizontal scroll bar is enabled (default true)
  • smoothScroll bool smooth scroll is enabled (default true)
  • verticalSmartScroll bool if control is scrolled to bottom, keep scroll when layout changes (default false)
  • smoothScrollTime number time of the smooth scroll, in seconds (default 0.7)
  • ignoreMouseWheel bool mouse wheel scrolling is enabled (default false)

See also:

generated by LDoc 1.4.0