Fix problem with disparity module

This commit is contained in:
jfmcarreira committed 2015-07-28 19:28:01 +01:00
1 parent 25b284b8da
commit 0baf0c1701
2 files changed
+8 -6

No files matched your search

+3 -3
View File
@@ -43,19 +43,19 @@ public:
m_pcDescription = new QLabel;
m_pcDescription->setText( QString::fromStdString( option->opt_desc ) );
QHBoxLayout* layout = new QHBoxLayout;
layout->addWidget( m_pcDescription, Qt::AlignLeft );
layout->addWidget( m_pcDescription, 0, Qt::AlignLeft );
if( !option->isBinary() )
{
m_pcValue = new QLineEdit;
m_pcValue->setMinimumWidth( 40 );
m_pcValue->setMaximumWidth( 65 );
layout->addWidget( m_pcValue, Qt::AlignRight );
layout->addWidget( m_pcValue, 0, Qt::AlignRight );
}
else
{
m_pcChecked = new QCheckBox;
m_pcChecked->setChecked( false );
layout->addWidget( m_pcChecked, Qt::AlignRight );
layout->addWidget( m_pcChecked, 0, Qt::AlignRight );
}
layout->setContentsMargins( 1, 1, 1, 1 );
setLayout( layout );