Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/UMG/Public/Components/ScrollBox.h |
Include |
#include "Components/ScrollBox.h" |
class UScrollBox : public UPanelWidget
An arbitrary scrollable collection of widgets. Great for presenting 10-100 widgets in a list. Doesn't support virtualization.
Name | Description | ||
---|---|---|---|
|
AllowOverscroll |
Disable to stop scrollbars from activating inertial overscrolling |
|
|
AlwaysShowScrollbar |
||
|
AlwaysShowScrollbarTrack |
||
|
BackPadScrolling |
Whether to back pad this scroll box, allowing user to scroll backward until child contents are no longer visible |
|
|
bAllowRightClickDragScrolling |
Option to disable right-click-drag scrolling |
|
|
bAnimateWheelScrolling |
True to lerp smoothly when wheel scrolling along the scroll box |
|
|
ConsumeMouseWheel |
When mouse wheel events should be consumed. |
|
|
float |
DesiredScrollOffset |
The desired scroll offset for the underlying scrollbox. |
|
FrontPadScrolling |
Whether to front pad this scroll box, allowing user to scroll forward until child contents are no longer visible |
|
|
TSharedPtr< cla... |
MyScrollBox |
|
|
NavigationDestination |
Sets where to scroll a widget to when using explicit navigation or if ScrollWhenFocusChanges is enabled |
|
|
float |
NavigationScrollPadding |
The amount of padding to ensure exists between the item being navigated to, at the edge of the scrollbox. |
|
OnUserScrolled |
Called when the scroll has changed |
|
|
TEnumAsByte< EO... |
Orientation |
The orientation of the scrolling and stacking in the box. |
|
ScrollbarPadding |
The margin around the scrollbar |
|
|
ScrollbarThickness |
The thickness of the scrollbar thumb |
|
|
ScrollBarVisibility |
Visibility |
|
|
ScrollWhenFocusChanges |
Scroll behavior when user focus is given to a child widget |
|
|
TickHandle |
||
|
float |
WheelScrollMultiplier |
The multiplier to apply when wheel scrolling |
|
WidgetBarStyle |
The bar style |
|
|
WidgetStyle |
The style |
Name | Description | |
---|---|---|
|
UScrollBox ( |
Name | Description | ||
---|---|---|---|
|
EndInertialScrolling() |
Instantly stops any inertial scrolling that is currently in progress |
|
|
float |
GetScrollOffset() |
Gets the scroll offset of the scrollbox in Slate Units. |
|
float |
GetScrollOffsetOfEnd() |
Gets the scroll offset of the bottom of the ScrollBox in Slate Units. |
|
float |
GetViewOffsetFraction() |
|
|
ScrollToEnd() |
Scrolls the ScrollBox to the bottom instantly during the next layout pass. |
|
|
ScrollToStart() |
Scrolls the ScrollBox to the top instantly |
|
|
ScrollWidgetIntoView ( |
Scrolls the ScrollBox to the widget during the next layout pass. |
|
|
SetAllowOverscroll ( |
||
|
SetAlwaysShowScrollbar ( |
||
|
SetAnimateWheelScrolling ( |
||
|
SetConsumeMouseWheel ( |
||
|
SetNavigationDestination ( |
||
|
SetOrientation ( |
||
|
SetScrollbarPadding ( |
||
|
SetScrollbarThickness ( |
||
|
SetScrollBarVisibility ( |
||
|
SetScrollOffset ( |
Updates the scroll offset of the scrollbox. |
|
|
SetScrollWhenFocusChanges ( |
||
|
SetWheelScrollMultiplier ( |
||
|
SlateHandleUserScrolled ( |
Name | Description | ||
---|---|---|---|
|
UClass * |
GetSlotClass() |
|
|
OnSlotAdded ( |
||
|
OnSlotRemoved ( |
Name | Description | ||
---|---|---|---|
|
const FText |
GetPaletteCategory() |
Gets the palette category of the widget |
|
OnDescendantDeselectedByDesigner ( |
||
|
OnDescendantSelectedByDesigner ( |
||
|
TSharedRef< ... |
RebuildWidget() |
Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed. |
|
SynchronizeProperties() |
Applies all properties to the native widget if possible. |
Name | Description | ||
---|---|---|---|
|
ReleaseSlateResources ( |
Name | Description | ||
---|---|---|---|
|
TObjectPtr< USl... |
BarStyle_DEPRECATED |
|
|
TObjectPtr< USl... |
Style_DEPRECATED |