/* * Copyright (c) 2021, Nick Vella * * SPDX-License-Identifier: BSD-2-Clause */ #include #include #include #include #include #include #include namespace GUI { WizardPage::WizardPage(const String& title_text, const String& subtitle_text) : AbstractWizardPage() { set_layout(); layout()->set_spacing(0); auto& header_widget = add(); header_widget.set_fill_with_background_color(true); header_widget.set_background_role(Gfx::ColorRole::Base); header_widget.set_fixed_height(58); header_widget.set_layout(); header_widget.layout()->set_margins({ 15, 30, 0 }); m_title_label = header_widget.add