Navigation
API > API/Developer > API/Developer/WidgetRegistration > API/Developer/WidgetRegistration/FSeparatorBuilder
Description
Sets the color of the Separator. This will update the color of the Separator even after widget creation.
| Name | SetColor |
| Type | function |
| Header File | /Engine/Source/Developer/WidgetRegistration/Public/Layout/SeparatorBuilder.h |
| Include Path | #include "Layout/SeparatorBuilder.h" |
| Source | /Engine/Source/Developer/WidgetRegistration/Private/Layout/SeparatorBuilder.cpp |
FSeparatorBuilder & SetColor
(
const EStyleColor & NewColor
)
this FSeparatorBuilder to enable cascading.
Parameters
| Name | Remarks |
|---|---|
| NewColor | the EStyleColor to set the color of the SSeparator. Note that the EStyleColor is a key into the color table, so providing an EStyleColor such as EStyleColor::Panel will honor updates to changes in themes for that EStyleColor immediately. |