diff --git a/plugins/peak_controller_effect/artwork.png b/plugins/peak_controller_effect/artwork.png index 4f4ba9b9d50..5977f83cc27 100644 Binary files a/plugins/peak_controller_effect/artwork.png and b/plugins/peak_controller_effect/artwork.png differ diff --git a/plugins/peak_controller_effect/peak_controller_effect_control_dialog.cpp b/plugins/peak_controller_effect/peak_controller_effect_control_dialog.cpp index 1a7b808e609..ad0e6f4aabc 100644 --- a/plugins/peak_controller_effect/peak_controller_effect_control_dialog.cpp +++ b/plugins/peak_controller_effect/peak_controller_effect_control_dialog.cpp @@ -42,10 +42,9 @@ PeakControllerEffectControlDialog::PeakControllerEffectControlDialog( setWindowIcon( embed::getIconPixmap( "controller" ) ); setAutoFillBackground( true ); QPalette pal; - pal.setBrush( backgroundRole(), - PLUGIN_NAME::getIconPixmap( "artwork" ) ); + pal.setBrush( backgroundRole(), PLUGIN_NAME::getIconPixmap( "artwork" ) ); setPalette( pal ); - setFixedSize( 240, 100 ); + setFixedSize( 240, 80 ); m_baseKnob = new Knob( knobBright_26, this ); m_baseKnob->setLabel( tr( "BASE" ) ); @@ -73,7 +72,7 @@ PeakControllerEffectControlDialog::PeakControllerEffectControlDialog( m_decayKnob->setHintText( tr( "Release:" ) , "" ); m_tresholdKnob = new Knob( knobBright_26, this ); - m_tresholdKnob->setLabel( tr( "TRES" ) ); + m_tresholdKnob->setLabel( tr( "TRSH" ) ); m_tresholdKnob->setModel( &_controls->m_tresholdModel ); m_tresholdKnob->setHintText( tr( "Treshold:" ) , "" ); @@ -97,10 +96,10 @@ PeakControllerEffectControlDialog::PeakControllerEffectControlDialog( ledLayout->addWidget( m_muteLed ); ledLayout->addWidget( m_absLed ); - mainLayout->setContentsMargins( 0, 30, 0, 0 ); + mainLayout->setContentsMargins( 3, 10, 0, 0 ); mainLayout->addLayout( knobLayout ); mainLayout->addLayout( ledLayout ); - this->setLayout( mainLayout ); + setLayout( mainLayout ); }