ChildSlot
[
SNew(SHorizontalBox)
+ SHorizontalBox::Slot()
[
SNew(SButton)
.ButtonColorAndOpacity(FLinearColor::Red)
]
+ SHorizontalBox::Slot()
[
SNew(SSeparator)
.ColorAndOpacity(FLinearColor::Red)
]
];
the widget create by my code looks like:
I’m pretty sure the color showed is not red,it looks really darker in SSeparator.
How can I fix it?
