# UMG use "Wrap with: Button" on Canvas Panel

**URL:** <https://forums.unrealengine.com/t/umg-use-wrap-with-button-on-canvas-panel/333814>\
**Category:** UI\
**Tags:** button, unreal-engine, question, UMG\
**Created:** [September 29, 2015, 11:05pm UTC](https://forums.unrealengine.com/t/umg-use-wrap-with-button-on-canvas-panel/333814 "2015-09-29T23:05:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_aaa794cb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_aaa794cb](https://forums.unrealengine.com/u/anonymous_user_aaa794cb)\
**Post date:** [September 29, 2015, 11:05pm UTC](https://forums.unrealengine.com/t/umg-use-wrap-with-button-on-canvas-panel/333814/1 "2015-09-29T23:05:09Z")

</div>

Hello,

I’m creating a piece of content made up of several images and text, one of the images and the text is dynamic. However I want to make it a clickable button to make use of UMG’s capability to create tints to show hover/pressed states for the entire content.

Since button widgets can only have 1 child I can’t select all the pieces and use “wrap with → button”. (UMG creates a button as the parent for each item when I attempt ). So my natural thought was to use “wrap with → button” on the canvas panel which contains all the items. Simple right?

Except it doesn’t work, instead I get :

 ![60818-untitled-1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/a/7/aa7079ecc46060b08662f7b8bd078c4befbe33d7.jpeg)

Does anyone know how to fix ? Or is my approach entirely wrong and if so can someone suggest a workaround?

Thanks!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_650f1d25](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_650f1d25](https://forums.unrealengine.com/u/anonymous_user_650f1d25)\
**Post date:** [August 3, 2016, 4:13am UTC](https://forums.unrealengine.com/t/umg-use-wrap-with-button-on-canvas-panel/333814/2 "2016-08-03T04:13:13Z")

</div>

It’s way too late to answer but I think I may have just found a way to accomplish what you were looking for, via an “Overlay”.

Here’s what I did. (Not sure if it’ll help solve your predicament, but it may.)

- Created a new UMG widget blueprint
- Added an “Overlay” to the Canvas Panel
- Dragged 2 “Text” widgets and an “Image” onto the “Overlay” and it sucked’em in with open arms.
- Wrapped that, now parent, Overlay in a Button and shipped it.

Here’re a couple screenshots to show what it looks like.

 ![101187-overlayparent.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/9/6/c969201ce6a2f022fb6dda15f01cb26cda2bcc45.png)

 ![101186-overlaybutton.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/3/4/f3476e8a187b6d4d9620b5484ce951f79b5b6f4c.png)
