I have two variables. Both are instance editable and exposed on spawn. A text and image are set based on their value. And when I set them manually in the parent blueprint, they show up in the last image. But when I set them via the Construct widget blueprint, they don’t change and don’t show up in the last image. What am I missing?
If the issue was that the text and image is not being set, you’d still expect to see the default text and image as you see it in the editor in image 2.
It may be the KeyWidget is not being added to the viewport, Inside the Add Item is there an add to viewport being called for the widget passed in, or is the Keys property ever added to the viewport?
you’re still in editor? so you need to use PreConstruct
The Keys variable is a list view. I’m adding it to the list. The reason it doesn’t show up is because I haven’t set a default value to both variables. But if I do it does show up. I’m pretty sure the problem is that the variables are not being set.
This doesn’t change anything.
Check your graph view in your KeyWidget to make sure KeyTitleVar is being set to the text for your Key_Title.
There may should be function called GetTEXT_VAR_NAME when you created the binding
I checked it again. When I set the same variable in the KeyWidget, it does show up. When I get the KeyTitleVar from the TimelineEditor then it does say that the value is “Average temperature”. But in the KeyWidget it is set to nothing.
I was able to solve it. I had to make an object. Place the variables there. And then when the KeyWidget is added to the list view, I need to cast so I can get the variables. Although I think that what I was doing should have worked to. And it seems to be a bug.