[Qt-interest] How to remove the space around the edge of widget when using QGridLayout?

Kermit Mei kermit.mei at gmail.com
Mon Jun 8 08:41:10 CEST 2009


Hello,community!

I use QGridLayout to show some widgets in mywidget which inherited from
QWidget. And the other widgets are not mywidget's children.

I use QGridLayout in mywidget to show the others. But, there's always
some space around the edge of mywidget. I hope there's no space, between
the different widgets showed on mywidget, and also no space around the
edge of mywidget. 

How to do it? 

Thanks!
Kermit




More information about the Qt-interest-old mailing list