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:
parent
f0a5ce6d11
commit
cbd9cf93be
2 changed files with 7 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue