fix for LED input level meter
This commit is contained in:
parent
3af2b24931
commit
09c073e014
2 changed files with 7 additions and 3 deletions
|
@ -108,7 +108,7 @@
|
|||
</property>
|
||||
<property name="minimumSize" >
|
||||
<size>
|
||||
<width>84</width>
|
||||
<width>88</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
|
|
|
@ -48,8 +48,12 @@ CMultiColorLEDBar::CMultiColorLEDBar ( QWidget* parent, Qt::WindowFlags f )
|
|||
// create LED object
|
||||
vecpLEDs[iLEDIdx] = new cLED ( parent );
|
||||
|
||||
// add LED to layout with spacer
|
||||
pMainLayout->addStretch();
|
||||
// add LED to layout with spacer (do not add spacer on the left of the
|
||||
// first LED)
|
||||
if ( iLEDIdx > 0 )
|
||||
{
|
||||
pMainLayout->addStretch();
|
||||
}
|
||||
pMainLayout->addWidget ( vecpLEDs[iLEDIdx]->getLabelPointer() );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue