Choose your operating system:
Windows
macOS
Linux
| FSlateControlledConstruction | ||||||
| TSharedFromThis
|
Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Widgets/Layout/SExpandableArea.h |
Include |
#include "Widgets/Layout/SExpandableArea.h" |
class SExpandableArea : public SCompoundWidget
Represents an expandable area of content
Name | Description | ||
---|---|---|---|
|
bAllowAnimatedTransition |
If true expanding and collapsing the area will animate, otherwise it will expand/collapse instantly |
|
|
bAreaCollapsed |
True if the section is visible |
|
|
const FSlateBru... |
CollapsedImage |
Image to use when the area is collapsed |
|
const FSlateBru... |
ExpandedImage |
Image to use when the area is expanded |
|
float |
MaxHeight |
The maximum height of this area |
|
float |
MinWidth |
The minimum width of this area |
|
OnAreaExpansionChanged |
Delegate that fires when the area becomes expanded or collapsed the user |
|
|
RolloutCurve |
Curved used to simulate a rollout of the section |
|
|
TSharedPtr< SBo... |
TitleBorder |
Border widget for the header area |
Name | Description | ||
---|---|---|---|
|
Construct ( |
Constructs a new widget. |
|
|
TSharedRef< ... |
ConstructHeaderWidget ( |
Constructs the header area widget |
|
GetSectionScale() |
||
|
IsExpanded() |
||
|
IsTitleHovered() |
Returns true if area title is hovered, false otherwise. |
|
|
const FSlate... |
OnGetCollapseImage() |
|
|
OnGetContentVisibility() |
||
|
OnHeaderClicked() |
||
|
OnToggleContentVisibility() |
Toggles selection visibility when the panel is clicked. |
|
|
SetExpanded ( |
Instantly sets the expanded state of the area |
|
|
SetExpanded_Animated ( |
Name | Description | ||
---|---|---|---|
|
ComputeDesiredSize ( |
Computes the desired size of this area. Optionally clamping to Max height |
Name |
Description |
|
---|---|---|
|
FArguments |