do not use smaller font for compact view but use non-bold font instead

This commit is contained in:
Volker Fischer 2020-07-21 17:09:38 +02:00
parent e832ac09bb
commit 9b32d295a4

View file

@ -611,7 +611,7 @@ void CChannelFader::SetChannelInfos ( const CChannelInfo& cChanInfo )
if ( ( eDesign == GD_SLIMFADER ) && ( strModText.length() > 6 ) ) if ( ( eDesign == GD_SLIMFADER ) && ( strModText.length() > 6 ) )
{ {
// in slim mode, if the text is longer than 6 character, use a small font // in slim mode, if the text is longer than 6 character, use a small font
plblLabel->setStyleSheet ( "QLabel { color: black; font: 6pt bold; }" ); plblLabel->setStyleSheet ( "QLabel { color: black; }" ); // not bold
// break at every 4th character // break at every 4th character
for ( int iInsPos = 4; iInsPos <= strModText.size() - 1; iInsPos += 4 + 1 ) for ( int iInsPos = 4; iInsPos <= strModText.size() - 1; iInsPos += 4 + 1 )