SFML community forums

Bindings - other languages => DotNet => Topic started by: asdatapel on March 31, 2013, 05:48:26 am

Title: text affecting other text
Post by: asdatapel on March 31, 2013, 05:48:26 am
wassup,
im running into problems using two Text objects. i think it may be a bug but im not sure. anyway the problem is this: im using getLocalBounds of both texts to center them. However, if i update one text's string and not the other's, it causes the unchanged text's bounds to also change, causing it to go ff center. I dont know why this is. It only happens when i update one text. if i comment out that update, the other stops moving around. If you guys have any ideas thatd be great. thanks
Title: Re: text affecting other text
Post by: Laurent on March 31, 2013, 09:40:06 am
Please show a complete and minimal code that reproduces the problem.