Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Resizing Question  (Read 1140 times)

0 Members and 1 Guest are viewing this topic.

Loronix

  • Newbie
  • *
  • Posts: 3
    • View Profile
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.