1
Graphics / Resizing Question
« on: November 30, 2011, 10:16:20 pm »
I've got a RenderWindow that includes a button object and the class of that object inherits from sf::Sprite (this is probably not the right way to do it, but it seemed more convenient). Anyway, the window is resizable, but when I resize the window the button image is automatically scaled, but the button position and such do not seem to change, making the clickable button out of sync from the actual sprite. I was wondering how I would go about fixing this.
I'm somewhat of a beginner, so don't expect me to understand all of the infinite complexities of C++, as I still have a lot to learn.
Thanks in advance.
I'm somewhat of a beginner, so don't expect me to understand all of the infinite complexities of C++, as I still have a lot to learn.
Thanks in advance.