PGButton scaling problem


I have got a question again:
I use PGButtons for the GUI of my current project. Now, the problem is that I have textures being displayed on them and that therefore I do not want to use their labels. But when I set them up with an empty string for the label they have the dimensions 0x0 and, hence, are invisible.
How can I set their dimensions to that of the textures on them?

(P.S.: Yeah, I am a learner of English. Would you be so good as to tell me in a footnote when I make mistakes?)

Thank you in anticipation :slight_smile:

You can use PGItem::set_frame() to set the size explicitly.


Sorry for the late reply and thank you for your answer. It works perfectly - as always :wink: