From 799b0a4fa8cc6eaa61845e62312d299ba9cd05c4 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 6 Feb 2020 14:44:13 +0100 Subject: LibGUI: Rename {H,V}BoxLayout => {Horizontal,Vertical}BoxLayout --- Applications/Piano/KnobsWidget.cpp | 8 ++++---- Applications/Piano/MainWidget.cpp | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'Applications/Piano') diff --git a/Applications/Piano/KnobsWidget.cpp b/Applications/Piano/KnobsWidget.cpp index 8f53f0b8b0..c6dd0dda90 100644 --- a/Applications/Piano/KnobsWidget.cpp +++ b/Applications/Piano/KnobsWidget.cpp @@ -40,11 +40,11 @@ KnobsWidget::KnobsWidget(GUI::Widget* parent, AudioEngine& audio_engine, MainWid set_frame_thickness(2); set_frame_shadow(Gfx::FrameShadow::Sunken); set_frame_shape(Gfx::FrameShape::Container); - set_layout(make()); + set_layout(make()); set_fill_with_background_color(true); m_labels_container = GUI::Widget::construct(this); - m_labels_container->set_layout(make()); + m_labels_container->set_layout(make()); m_labels_container->set_size_policy(GUI::SizePolicy::Fill, GUI::SizePolicy::Fixed); m_labels_container->set_preferred_size(0, 20); @@ -57,7 +57,7 @@ KnobsWidget::KnobsWidget(GUI::Widget* parent, AudioEngine& audio_engine, MainWid m_delay_label = GUI::Label::construct("Delay", m_labels_container); m_values_container = GUI::Widget::construct(this); - m_values_container->set_layout(make()); + m_values_container->set_layout(make()); m_values_container->set_size_policy(GUI::SizePolicy::Fill, GUI::SizePolicy::Fixed); m_values_container->set_preferred_size(0, 10); @@ -70,7 +70,7 @@ KnobsWidget::KnobsWidget(GUI::Widget* parent, AudioEngine& audio_engine, MainWid m_delay_value = GUI::Label::construct(String::number(m_audio_engine.delay() / m_audio_engine.tick()), m_values_container); m_knobs_container = GUI::Widget::construct(this); - m_knobs_container->set_layout(make()); + m_knobs_container->set_layout(make()); // FIXME: Implement vertical flipping in GSlider, not here. diff --git a/Applications/Piano/MainWidget.cpp b/Applications/Piano/MainWidget.cpp index 2e25ef543b..d64850fca7 100644 --- a/Applications/Piano/MainWidget.cpp +++ b/Applications/Piano/MainWidget.cpp @@ -36,7 +36,7 @@ MainWidget::MainWidget(AudioEngine& audio_engine) : m_audio_engine(audio_engine) { - set_layout(make()); + set_layout(make()); layout()->set_spacing(2); layout()->set_margins({ 2, 2, 2, 2 }); set_fill_with_background_color(true); @@ -50,7 +50,7 @@ MainWidget::MainWidget(AudioEngine& audio_engine) m_roll_widget->set_preferred_size(0, 300); m_keys_and_knobs_container = GUI::Widget::construct(this); - m_keys_and_knobs_container->set_layout(make()); + m_keys_and_knobs_container->set_layout(make()); m_keys_and_knobs_container->layout()->set_spacing(2); m_keys_and_knobs_container->set_size_policy(GUI::SizePolicy::Fill, GUI::SizePolicy::Fixed); m_keys_and_knobs_container->set_preferred_size(0, 100); -- cgit v1.2.3