Skip to content

Commit

Permalink
title label in artwork.png removed / alignment improved (#2995)
Browse files Browse the repository at this point in the history
  • Loading branch information
BaraMGB authored and Umcaruje committed Aug 26, 2016
1 parent f3ce312 commit f91d0e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Binary file modified plugins/peak_controller_effect/artwork.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -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" ) );
Expand Down Expand Up @@ -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:" ) , "" );

Expand All @@ -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 );
}

0 comments on commit f91d0e7

Please sign in to comment.