fix to get the same layout under Windows as before for the mixer faders

This commit is contained in:
Volker Fischer 2011-12-01 18:47:17 +00:00
parent 354b6309bd
commit 98603ff069

View file

@ -58,6 +58,9 @@ CChannelFader::CChannelFader ( QWidget* pNW,
" color: black;" " color: black;"
" font: bold; }" ); " font: bold; }" );
// set margins of the layout to zero to get maximum space for the controls
pMainGrid->setContentsMargins ( 0, 0, 0, 0 );
// add user controls to grid // add user controls to grid
pMainGrid->addWidget( pFader, 0, Qt::AlignHCenter ); pMainGrid->addWidget( pFader, 0, Qt::AlignHCenter );
pMainGrid->addWidget( pcbMute, 0, Qt::AlignLeft ); pMainGrid->addWidget( pcbMute, 0, Qt::AlignLeft );