Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

UMG use "Wrap with: Button" on Canvas Panel


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 this). 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 this: alt text

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


Product Version: UE 4.8
untitled-1.jpg (139.7 kB)
more ▼

asked Sep 29 '15 at 11:05 PM in Using UE4

avatar image

1 1 2 3

avatar image kusokuso1 Aug 03 '16 at 04:13 AM

It's way too late to answer this 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.

alt text alt text

overlaybutton.png (177.8 kB)
overlayparent.png (207.5 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question