FSeparatorBuilder::SetColor

Sets the color of the Separator.

Unreal Engine C++ API Reference > Developer > WidgetRegistration > Layout > FSeparatorBuilder

References

   
Module WidgetRegistration
Header /Engine/Source/Developer/WidgetRegistration/Public/Layout/SeparatorBuilder.h
Include #include "Layout/SeparatorBuilder.h"
Source /Engine/Source/Developer/WidgetRegistration/Private/Layout/SeparatorBuilder.cpp
[FSeparatorBuilder](API\Developer\WidgetRegistration\Layout\FSeparatorBuilder) & SetColor
(
    const EStyleColor & NewColor
)

Remarks

Sets the color of the Separator. This will update the color of the Separator even after widget creation. this FSeparatorBuilder to enable cascading.

Parameters

Name Description
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.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library