Dynamically change size of GWindow
in
Contributed Library Questions
•
2 months ago
Hi,
I'm looking at changing the size of a GWindow while it's open, and moving the buttons on the window.
At the moment, I have a function that when ran, will make the size of the GWindow bigger, and add in a new row of GTextField's. To make the window bigger I just use the setSize() function. But there isn't a setLocation function for GButton, or anything similar that I can find.
I've tried creating a new button, and redrawing, but that doesn't remove the old buttons.
Is there any other way of moving a GButton?
Thanks.
1