C++ (Qt)void MainWindow::on_pushButton_clicked(){ ui->pushButton->setGeometry(ui->pushButton->x(), ui->pushButton->y(), ui->pushButton->width()+10, ui->pushButton->height());}
C++ (Qt)void MainWindow::on_pushButton_clicked(){ ui->pushButton->resize(ui->pushButton->size() + QSize(20, 0));}