Change Disabled Foreground Color

I would like to set UEditableTextBox controls disabled foreground color to something other than grey. Is there an easy way to do this?

The controls have to marked as disabled because otherwise the UEditableTextBox will not pass the mouse events to the parent Button:

The text color within the control is the issue:

138331-disablededitabletextbox.jpg

Is there a way to cast the control to a specific class and get access to its colors:

UWidget* textBox;
textBox = (UWidget*)(WidgetTree->FindWidget(editWidgets[x]));
if(textBox != nullptr)
    textBox->

Thank you for the help.

1 Like