mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Use setContentsMargins instead of setMargin
This commit is contained in:
@@ -117,7 +117,7 @@ QWidget* PdmUiActionPushButtonEditor::createEditorWidget( QWidget* parent )
|
||||
|
||||
m_buttonLayout = new QHBoxLayout( containerWidget );
|
||||
m_buttonLayout->addWidget( m_pushButton );
|
||||
m_buttonLayout->setMargin( 0 );
|
||||
m_buttonLayout->setContentsMargins( 0, 0, 0, 0 );
|
||||
m_buttonLayout->setSpacing( 0 );
|
||||
containerWidget->setLayout( m_buttonLayout );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user