Remove the outer margin of step widgets
This commit is contained in:
parent
a318ec49fc
commit
4ee9f68ceb
@ -85,6 +85,11 @@ ViewManager::addViewStep( ViewStep* step )
|
|||||||
{
|
{
|
||||||
step->setParent( this );
|
step->setParent( this );
|
||||||
m_steps.append( step );
|
m_steps.append( step );
|
||||||
|
QLayout* layout = step->widget()->layout();
|
||||||
|
if ( layout )
|
||||||
|
{
|
||||||
|
layout->setContentsMargins( 0, 0, 0, 0 );
|
||||||
|
}
|
||||||
m_stack->addWidget( step->widget() );
|
m_stack->addWidget( step->widget() );
|
||||||
|
|
||||||
connect( step, &ViewStep::nextStatusChanged,
|
connect( step, &ViewStep::nextStatusChanged,
|
||||||
|
Loading…
Reference in New Issue
Block a user