-
I have a tile, I have VBOX added to the graphic of the tile. I have one label, this label is added to the VBOX. It shows up on the tile. Everything works fine. When I want to update this label during run time, the updated label is added to the VBOX as an additional item along with the original label. Do you have a suggestion as to what may be the reason for this behaviour.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Well best practice is to never change the scenegraph at runtime, meaning to say you should build the scenegraph before you run the application and then only change things that are already on the scenegraph. It looks like you lookup the label at runtime and change it's value which will probably lead to problems. |
Beta Was this translation helpful? Give feedback.
Well best practice is to never change the scenegraph at runtime, meaning to say you should build the scenegraph before you run the application and then only change things that are already on the scenegraph. It looks like you lookup the label at runtime and change it's value which will probably lead to problems.