1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:38:11 +00:00

LibGUI: Implement calculated_min_size() for StackWidget

This commit is contained in:
thankyouverycool 2022-09-22 11:22:53 -04:00 committed by Andreas Kling
parent f0a5ce6d11
commit cbd9cf93be
2 changed files with 7 additions and 0 deletions

View file

@ -66,4 +66,9 @@ void StackWidget::child_event(Core::ChildEvent& event)
Widget::child_event(event);
}
Optional<UISize> StackWidget::calculated_min_size() const
{
return m_active_widget->calculated_min_size();
}
}