@@ -353,14 +353,17 @@ class AudioExample
353353 noteIndicatorLabel->setColor (yup::Label::Style::backgroundColorId, yup::Colors::yellow.withAlpha (0 .8f ));
354354 addChildComponent (*noteIndicatorLabel);
355355
356+ auto font = yup::ApplicationTheme::getGlobalTheme ()->getDefaultFont ();
357+
356358 // Add harmonic control sliders (4x4 grid)
357359 for (int i = 0 ; i < totalRows * totalColumns; ++i)
358360 {
359361 auto slider = sliders.add (std::make_unique<yup::Slider> (yup::Slider::RotaryVerticalDrag));
360362
361363 // Configure slider range and default value
362- slider->setRange ({ 0 .0f , 1 .0f } );
364+ slider->setRange (0 .0f , 1 .0f );
363365 slider->setDefaultValue (0 .0f );
366+ slider->setMouseDragSensitivity (0 .3f );
364367
365368 slider->onValueChanged = [this , i] (float value)
366369 {
@@ -374,6 +377,7 @@ class AudioExample
374377 // label->setJustificationType (yup::Justification::centred);
375378 // label->setFont (10.0f);
376379 label->setColor (yup::Label::Style::textFillColorId, yup::Colors::lightgray);
380+ label->setFont (font.withHeight (8 .0f ));
377381
378382 // Set the harmonic multiplier text
379383 auto multiplier = harmonicSynth.getHarmonicMultiplier (i);
@@ -486,7 +490,7 @@ class AudioExample
486490 auto harmonicIndex = i * totalColumns + j;
487491
488492 // Reserve space for label at bottom of column
489- auto labelHeight = 20 ;
493+ auto labelHeight = 10 ;
490494 auto labelBounds = col.removeFromBottom (labelHeight);
491495 harmonicLabels[harmonicIndex]->setBounds (labelBounds);
492496
0 commit comments