How to resize a QPushButton which is inside of a Layout?

the command

Qt Code:
  1. button->setGeometry(p1,p3,w,h);
To copy to clipboard, switch view to plain text mode 
has no effect!

Best Regards?