I’m in my first week in UE, using 5.4. I’m trying to create reusable widgets to build other reusable widgets on top of them, in my case:
-
create a reusable text widget
WB_Base_Text
(text and font size are parameters) -
create a reusable button widget
WB_Base_Button
, it usesWB_Base_Text
, therefore it has the same parameters.
When I create an instance of WB_Base_Button
, I can’t override the default text it has, in other words, through the button I can’t override the text in WB_Base_Text
it uses.
Judging by my debug console output, the default text value should be overridden, but it’s not. I took screenshots of the console output and widget structure.
What is even more strange, is when I create just an instance of WB_Base_Text
, then I can change the text.
What do I miss?