Layout & bg artwork for peak controller, matching bg artwork for lfo controller & bass booster

This commit is contained in:
Vesa
2014-01-21 00:28:37 +02:00
parent d8367d7496
commit 8c881bb928
4 changed files with 7 additions and 7 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 23 KiB

View File

@@ -44,7 +44,7 @@ PeakControllerEffectControlDialog::PeakControllerEffectControlDialog(
pal.setBrush( backgroundRole(),
PLUGIN_NAME::getIconPixmap( "artwork" ) );
setPalette( pal );
setFixedSize( 288, 110 );
setFixedSize( 170, 150 );
QVBoxLayout * tl = new QVBoxLayout( this );
tl->addSpacing( 25 );
@@ -85,7 +85,7 @@ PeakControllerEffectControlDialog::PeakControllerEffectControlDialog(
l->addStretch(); // expand, so other widgets have minimum width
tl->addLayout( l );
l = new QHBoxLayout; // = 2nd hbox
QVBoxLayout * l2 = new QVBoxLayout; // = 2nd vbox
m_muteLed = new ledCheckBox( "Mute Effect", this );
m_muteLed->setModel( &_controls->m_muteModel );
@@ -98,11 +98,11 @@ PeakControllerEffectControlDialog::PeakControllerEffectControlDialog(
tl->addSpacing( 5 );
l->addWidget( m_muteLed );
l->addWidget( m_absLed );
l->addWidget( m_muteOutputLed );
l->addStretch(); // expand, so other widgets have minimum width
tl->addLayout( l );
l2->addWidget( m_muteLed );
l2->addWidget( m_absLed );
l2->addWidget( m_muteOutputLed );
l2->addStretch(); // expand, so other widgets have minimum height
tl->addLayout( l2 );
setLayout( tl );
}