Mixer/Parameter Editor: Tweak appearance.

This commit is contained in:
Jonathan Moore Liles 2013-09-18 17:26:23 -07:00
parent ea0c2839c1
commit 4d20ed0f7b
1 changed files with 8 additions and 2 deletions

View File

@ -142,14 +142,17 @@ Module_Parameter_Editor::make_controls ( void )
if ( mode_choice->value() == 1 )
{
control_pack->vspacing( 1 );
control_pack->hspacing( 10 );
control_pack->flow(true);
control_pack->flowdown(true);
control_pack->vspacing(0);
control_pack->type( FL_HORIZONTAL );
control_pack->size( 900, 240 );
}
else if ( mode_choice->value() == 2 )
{
control_pack->vspacing( 10 );
control_pack->hspacing( 10 );
control_pack->flow(true);
control_pack->flowdown(false);
control_pack->type( FL_HORIZONTAL );
@ -157,6 +160,8 @@ Module_Parameter_Editor::make_controls ( void )
}
else if ( mode_choice->value() == 0 )
{
control_pack->vspacing( 10 );
control_pack->hspacing( 10 );
control_pack->flow(true);
control_pack->flowdown(false);
control_pack->type( FL_HORIZONTAL );
@ -242,6 +247,7 @@ Module_Parameter_Editor::make_controls ( void )
o->selection_color( fc );
o->value( p->control_value() );
o->align(FL_ALIGN_TOP);
o->box( FL_DOWN_BOX );
o->precision( 2 );
/* a couple of plugins have ridiculously small units */
@ -285,7 +291,7 @@ Module_Parameter_Editor::make_controls ( void )
o->precision( 5 );
o->textsize( 8 );
o->box( FL_NO_BOX );
// o->box( FL_NO_BOX );
o->slider( FL_UP_BOX );
o->color( bc );
o->selection_color( fc );