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. 

[UMG] How to update text immediately

I created my own button widget , and added to my menu widget. I can change text, button color in menu widget bp.

But the effect is shown in runtime only. How can i do to show the text and color in editor immediately? alt text alt text alt text alt text

Product Version: UE 4.8
Tags:
var.png (21.8 kB)
runtime.png (8.9 kB)
editor.png (48.6 kB)
my_button.png (54.5 kB)
more ▼

asked Nov 23 '15 at 05:39 PM in Blueprint Scripting

avatar image

WFredC
1 2 3 4

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

2 answers: sort voted first

Instead of changing the text of the button, add text component as child of the button

more ▼

answered Apr 06 '16 at 10:59 AM

avatar image

Badoy
36 3 4 5

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

If you came here via Google like I did - (looking for how to update the preview via C++), you should look at the SynchronizeProperties C++ function. Set the underlying UTextBlock text inside a virtual override of UUserWidget::SynchronizeProperties.

more ▼

answered Mar 10 '19 at 09:49 PM

avatar image

disseminate
1 1 3

(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