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;"
" 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
pMainGrid->addWidget( pFader, 0, Qt::AlignHCenter );
pMainGrid->addWidget( pcbMute, 0, Qt::AlignLeft );