# Widget Construction not working properly

**URL:** <https://forums.unrealengine.com/t/widget-construction-not-working-properly/782910>\
**Category:** Blueprint\
**Tags:** unreal-engine, Widget, Blueprint, question\
**Created:** [March 3, 2023, 11:56am UTC](https://forums.unrealengine.com/t/widget-construction-not-working-properly/782910 "2023-03-03T11:56:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![brucewillis4.0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@brucewillis4.0](https://forums.unrealengine.com/u/brucewillis4.0)\
**Post date:** [March 3, 2023, 11:56am UTC](https://forums.unrealengine.com/t/widget-construction-not-working-properly/782910/1 "2023-03-03T11:56:29Z")

</div>

Hello,

im quite frustrated as I cannot find the issue:  
Im working on an Cilivisation like game in UE4.27 and im currently on the TownWidget Prototype. What i try is: On Double Click on the town the TownWidget opens and shows all Citizens in a Tile view. Therefore I have the TownWidget (which opens fine on Double Click) which on Event Construct creates the Slot Widgets of the Citizens. The Town is handed ti the TownWidget and the CitizensArray is combined with the creation of the slots in a for loop.But the issue is non of the images loads, whereas the citizen variable - where the image comes from - is set on spawn.

---

<div class="post-metadata">

**Author:** ![Supremative](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/supremative/32/906564_2.png) [@Supremative](https://forums.unrealengine.com/u/Supremative)\
**Post date:** [March 3, 2023, 1:18pm UTC](https://forums.unrealengine.com/t/widget-construction-not-working-properly/782910/2 "2023-03-03T13:18:33Z")

</div>

Try to use OnListItemObjectSet instead of Construct inside your entry:

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/3/f/93ff8fa301efb4ed2699d1944d3144026bf47cd3.png)

Or send a variable with OnEntryInitialized:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/e/7/ee77b3a0f77e79c30046acc893676536dfcbdbfa.png)

Also, read this thread:

> [@Listview - getting started in BP](https://forums.unrealengine.com/t/listview-getting-started-in-bp/123626):
>
> I am creating this guide since I had trouble grasping the listview at first, seeing many have the same struggle and there not being any good information about them in a blueprint context. The listview should be pretty straight forward to use once you got the basic grasp of it. Note!:If a widget is generated for one instance more than once, the engine will crash. So any instance should only be in the listview once. Note! If the node “Is List Item Selected”, part of the entrywidget class, is us…

[My Products](https://www.unrealengine.com/marketplace/en-US/profile/Aleksandr+Sidorov)
