Mixer: tweak the size of GUI elements.

This commit is contained in:
Jonathan Moore Liles 2010-01-31 19:33:57 -06:00
parent 4a44188596
commit cf9427a006
3 changed files with 6 additions and 4 deletions

View File

@ -231,7 +231,7 @@ Controller_Module::connect_to ( Port *p )
o->minimum(1.5); o->minimum(1.5);
o->maximum(0); o->maximum(0);
o->value(1); o->value(1);
o->textsize(14); o->textsize(6);
if ( p->hints.ranged ) if ( p->hints.ranged )
{ {

View File

@ -225,9 +225,9 @@ void Mixer_Strip::cb_handle(Fl_Widget* o) {
else if ( o == width_button ) else if ( o == width_button )
{ {
if ( ((Fl_Button*)o)->value() ) if ( ((Fl_Button*)o)->value() )
size( 300, h() ); size( 220, h() );
else else
size( 120, h() ); size( 96, h() );
if ( parent() ) if ( parent() )
parent()->parent()->redraw(); parent()->parent()->redraw();
@ -457,6 +457,8 @@ Mixer_Strip::init ( )
color( FL_BLACK ); color( FL_BLACK );
size( 96, h() );
// _chain->configure_ports(); // _chain->configure_ports();
} }

View File

@ -200,7 +200,7 @@ Module_Parameter_Editor::make_controls ( void )
else else
{ {
o->type( FL_VERTICAL ); o->type( FL_VERTICAL );
o->size( 24, 120 ); o->size( 32, 120 );
/* have to reverse the meaning of these to get the /* have to reverse the meaning of these to get the
* orientation of the slider right */ * orientation of the slider right */
o->maximum( p->hints.minimum ); o->maximum( p->hints.minimum );