Hi! I'm newbie in Qt mobile! I have a problem when i load an image into a QPushButton. I loaded it! But the size of image is larger than the size of button! I want to reduce the size of image to fill the button! This is my code :
Help me ! Thanks a lot!Qt Code:
// Set image for button ui->button->setIcon(icon); ui->button->setIconSize(iconSize);To copy to clipboard, switch view to plain text mode
Bookmarks