[Qt-interest] Push Button height inside GridLayout

John McClurkin jwm at nei.nih.gov
Mon Nov 2 14:01:15 CET 2009


Sambhav wrote:
> Hi,
> Â 
> I am designing a GUI using GridLayout. QPushButton widgets added to the 
> layout has a default height.
> Is it possible to change the each push button's height to the a 
> different value inside the grid layout ?
> If so can someone tell me how to change it.
> Â 
> Thanks & Regards,
> Sambhav
Have you tried setting the QPushButton's size hints?



More information about the Qt-interest-old mailing list