# Widgets are created and added as childs, but i can't see them at viewport. What's wrong?

**URL:** <https://forums.unrealengine.com/t/widgets-are-created-and-added-as-childs-but-i-cant-see-them-at-viewport-whats-wrong/1878566>\
**Category:** C++\
**Tags:** Behavior-Tree, child, add, unreal-engine, UI, CPP, question\
**Created:** [May 29, 2024, 9:17am UTC](https://forums.unrealengine.com/t/widgets-are-created-and-added-as-childs-but-i-cant-see-them-at-viewport-whats-wrong/1878566 "2024-05-29T09:17:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sa1lim.RAM](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sa1lim.ram/32/681130_2.png) [@sa1lim.RAM](https://forums.unrealengine.com/u/sa1lim.RAM)\
**Post date:** [May 29, 2024, 9:17am UTC](https://forums.unrealengine.com/t/widgets-are-created-and-added-as-childs-but-i-cant-see-them-at-viewport-whats-wrong/1878566/1 "2024-05-29T09:17:52Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/e/2/5e20b9a2adde662faa3c48e356635bd9b41a347c.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/f/5/7f542dc99d0a668a4eee41caf2b4a39eaf435699.jpeg)

I wanna make dialogue, but when i create widgets with button from c++, this widgets are created, but doesn’t exist on vieport. When i tried add this widget from bp, it’s exists. What i mean. Function AddChildToVerticalBox works as it should, but it doesn’t show its child widgets, which were created in c++. How can i solve this prblem?
