x

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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How can I scale the canvas panel with children already in it?

I have a menu I've created with many buttons and fields for input. I've noticed the canvas panel is pretty big, takes up the entire space. Is it possible for me to scale this canvas panel down to the size of my menu? Do I need to do so, will having the canvas panel be the size of the screen do anything?

Product Version: UE 4.13
Tags:
more ▼

asked Oct 19 '16 at 02:30 PM in Blueprint Scripting

avatar image

Thumper
966 140 150 389

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

If you only want your menu to take up part of the screen, you could either scale the Canvas Panel or just get rid of it entirely. The Canvas Panel isn't required even though it is there by default. Also, even if it is the whole size of the screen, it shouldn't change anything as long as it's transparent.

more ▼

answered Oct 19 '16 at 03:43 PM

avatar image Thumper Oct 19 '16 at 08:01 PM

Scaling the canvas scales the children though. It seems like once you've dropped children into a canvas container you can't get them out. Is there a way I can select all the children and remove them from a canvas?

avatar image Matthew J Oct 19 '16 at 08:20 PM

You can highlight all of the components that are under the Canvas panel, copy them, delete the Canvas Panel, and then right-click the top entry (the one that shares the name of the Widget BP) and select Paste. It should bring everything over smoothly. There may be some widgets that are set to Size to Content or Fill that could look odd after being taken out, but you should be able to fix that rather easily.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Hi Mathew J, old post but I tried what you said and no matter what I do it will always copy the canvas panel over despite making sure I'm not selecting it in the copy process.

Kinda bumming me out atm as this is really holding me back a great deal. :(

more ▼

answered Nov 07 '17 at 07:22 PM

avatar image

AXlOM
40 1 5 8

avatar image Matthew J Nov 16 '17 at 06:31 PM

Hello AXIOM,

You can workaround this by selecting all of your Widgets and wrapping them with another element. If you then copy the new wrap and widget elements, you can then delete the Canvas panel and paste and it will not bring the Canvas panel back. This is an intended change from what I understand, as it will not allow for multiple widget elements to be without a parent under the main widget.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
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