Navigation
API > API/Developer > API/Developer/ToolWidgets
Inheritance Hierarchy
- FSlateWidgetStyle
- FActionButtonStyle
References
| Module | ToolWidgets |
| Header | /Engine/Source/Developer/ToolWidgets/Public/ToolWidgetsSlateTypes.h |
| Include | #include "ToolWidgetsSlateTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FActionButtonStyle : public FSlateWidgetStyle
Remarks
Represents the appearance of an SActionButton
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bHasDownArrow | Whether to show a down arrow for the combo button | |
| TOptional< FMargin > | ButtonContentPadding | Spacing between button's border and the content. Default uses ButtonStyle. | |
| FButtonStyle | ButtonStyle | The style to use for our SButton. | |
| TOptional< FMargin > | ComboButtonContentPadding | Spacing between button's border and the content. Default uses ComboButtonStyle. | |
| FComboButtonStyle | ComboButtonStyle | The style to use for our SComboButton. | |
| TEnumAsByte< EHorizontalAlignment > | HorizontalContentAlignment | Horizontal Content alignment within the button. | |
| TOptional< FSlateBrush > | IconBrush | Icon Brush to use. | |
| TOptional< FSlateColor > | IconColorAndOpacity | Icon Color/Tint, defaults is determined by ActionButtonType. | |
| FTextBlockStyle | TextBlockStyle | The style to use for the button Text. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
Overridden from FSlateWidgetStyle
| Type | Name | Description | |
|---|---|---|---|
| void | GetResources
(
TArray< const FSlateBrush* >& OutBrushes |
Gets the brush resources associated with this style. | |
| const FName | GetTypeName () |
Gets the name of this style.This method must be implemented by inherited structures. |
Constants
| Name | Description |
|---|---|
| TypeName |