Minor fixes into layout management
This commit is contained in:
1 parent
045ad923e7
commit
27c135d003
2 files changed
+31
-6
No files matched your search
@@ -61,8 +61,10 @@ SubWindowAbstract::~SubWindowAbstract()
|
||||
Void SubWindowAbstract::setWidget( QWidget* widget )
|
||||
{
|
||||
if( !m_pcLayout )
|
||||
{
|
||||
m_pcLayout = new QHBoxLayout( this );
|
||||
|
||||
m_pcLayout->setContentsMargins( 0, 0, 0, 0 );
|
||||
}
|
||||
m_pcLayout->addWidget( widget );
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user