How can I set size of a button?
The following bit of code does what you ask for. Just make sure that you assign enough space so that the text on the button becomes visible The X and Y (two first parameters of the GridLayout constructor) specify the number of rows and columns in the grid (respectively). You may leave one of them … Read more