I make a program with many buttons on it, I created a main widget, on this widget I created 3 widgets to split them to 3 parts: Header, Footer, and Body; I’m using Horizontal Layouts on each widget to align to center and auto correct size of the buttons. Each button I use an image instead default QT button.
When the form resizing, I use a function to resize image of each button and the result feel good to this point. But, I can’t resize the buttons bigger than original image size, such as: My original image size is 20 by 20 px, I can’t resize the button bigger than 20 by 20 px.
Help me resolve this problem. Thanks!
Bookmarks