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"

[4.17] How to prevent scalebox scale flickering?

Ive made a UserWidget "DataPanel" which uses a scalebox within which Ive placed a VerticalBox with 4 Text widgets.

I dynamically spawn this "DataPanel" into a Canvas widget of my main menu, and then set the anchors to (0,0,1,1) so "DataPanel" fills the whole canvas.

The "DataPanel"'s Event Tick checks its set variables and then changes the text of the Text widgets within the VerticalBox to match those variables.

For the first moments the "DataPanel" appears to be scaled to be too large for the Canvas widget of my main menu, but then quickly scales to the right size. This gives the appearance of the "DataPanel" flickering before settling into position. The text in the "DataPanel" is the same both before and after the flickering.

How can I ensure the scalebox is scaled to the right size immediately?

Product Version: UE 4.17
more ▼

asked Apr 04 '18 at 05:30 PM in Using UE4

avatar image

393 46 51 73

avatar image Jiyko May 18 '18 at 10:57 AM

I would also like to know the answer to this one!

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

I figured it out, and Im facepalming at myself right now.

Simple solution:

Move all the changes that would result in a resizing of the widget into a single function node. Call that function node in the same function that has the "create widget" node that creates the widget, immediately after it does so. It is important to make sure the any variables that might result in resizing the widget be set BEFORE the Initial Resizing Node is called.

For example:

alt text

more ▼

answered Oct 06 '18 at 07:51 PM

avatar image

393 46 51 73

(comments are locked)
10|2000 characters needed characters left

Same problem in 4.18, any solution?

more ▼

answered Sep 04 '18 at 08:37 AM

avatar image

41 1 5 8

avatar image Jiyko Sep 04 '18 at 10:29 AM

Still experiencing it in 4.19 as well. Doubt we'll get a fix unless they need it to work in Fortnite!

(comments are locked)
10|2000 characters needed characters left
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