WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   Fontstring written over old value (https://www.wowinterface.com/forums/showthread.php?t=52302)

Yukyuk 05-12-15 03:36 AM

Fontstring written over old value
 
Ok, got a funny one this time.
When displaying a fontstring the new value is written over the previous one (see the amount field in the picture).
No idea why this is happening.
Allready searched the forums here but didn't find an answer.
Maybe someone can point me in the right derection?



Resike 05-12-15 04:17 AM

You probably create a new FontString every time you update the values, instead of just update it's text.

Dorwido 05-12-15 05:22 AM

Question like that you should at least post the part of the code producing it otherwise its a wild guess, but in this case I am quite sure Resike answer is correct.

Yukyuk 05-12-15 07:32 AM

You are both right.
Creating a new font string each time, stupid of me.

Also found the answer myself while out eating pancakes.
And then they say men can't multitask :)


All times are GMT -6. The time now is 08:44 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI