Skip to content

Commit cbe4515

Browse files
committed
Adjust UI.
1 parent d4a5a28 commit cbe4515

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Source/PluginEditor.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ AeolusAudioProcessorEditor::AeolusAudioProcessorEditor (AeolusAudioProcessor& p)
124124

125125
_tuningButton.onClick = [this] {
126126
auto content = std::make_unique<ui::GlobalTuningComponent>();
127-
content->setSize(240, 140);
127+
content->setSize(240, 144);
128128
auto* contentPtr = content.get();
129129

130130
auto& box = CallOutBox::launchAsynchronously(std::move(content), _tuningButton.getBounds(), this);
@@ -243,7 +243,7 @@ void AeolusAudioProcessorEditor::resized()
243243
_volumeLevelL.setBounds(_volumeSlider.getX() + 5, _volumeSlider.getY() + 2, _volumeSlider.getWidth() - 10, 2);
244244
_volumeLevelR.setBounds(_volumeSlider.getX() + 5, _volumeSlider.getY() + _volumeSlider.getHeight() - 4, _volumeSlider.getWidth() - 10, 2);
245245

246-
_tuningButton.setBounds(_volumeSlider.getRight() + 40, margin - 2, 60, 24);
246+
_tuningButton.setBounds(_volumeSlider.getRight() + 40, margin - 2, 24, 24);
247247

248248
_panicButton.setBounds(getWidth() - 90, margin, 50, 20);
249249

Source/aeolus/scale.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ juce::String Scale::getNameForType(Type type)
232232
{ Werckm3, "Werckmeister" },
233233
{ Kirnberg3, "Kirnberger" },
234234
{ WellTemp, "Well tempered" },
235-
{ EqualTemp, "Equal temperament" },
235+
{ EqualTemp, "Equal tempered" },
236236
{ Ahrend, "Ahrend" },
237237
{ Vallotti, "Vallotti" },
238238
{ Kellner, "Kellner" },

Source/ui/GlobalTuningComponent.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ GlobalTuningComponent::GlobalTuningComponent()
3030
: _globalTuningLabel {{}, "Global tuning settings"}
3131
, _tuningFrequencyLabel {{}, "Mid-A frequency"}
3232
, _tuningFrequencySlider{Slider::IncDecButtons, Slider::TextBoxLeft}
33-
, _scaleLabel{{}, "Tuning"}
33+
, _scaleLabel{{}, "Scale"}
3434
, _scaleComboBox{}
3535
, _defaultButton{"Default"}
3636
, _okButton{"OK"}
@@ -92,7 +92,7 @@ aeolus::Scale::Type GlobalTuningComponent::getTuningScaleType() const
9292

9393
void GlobalTuningComponent::resized()
9494
{
95-
constexpr int margin = 5;
95+
constexpr int margin = 6;
9696

9797
auto bounds = getLocalBounds();
9898
bounds.reduce(margin, margin);

0 commit comments

Comments
 (0)