To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.
I keep struggling with setting the size of a button.
I've square icons (e.g. 32x32px) that I want to use in the setIcon method of the Button component. Setting the icon works okay, but how can I make the button be square in size e.g. 40x40px, with the icon centered?
Setting the height and width using setHeigth and setWidth does't seem to work! Currently using version 7.5.9!