mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibGUI: Implement calculated_min_size() for AbstractScrollableWidget
This commit is contained in:
committed by
Andreas Kling
parent
521e19444c
commit
d495405e53
Notes:
sideshowbarker
2024-07-17 06:39:38 +09:00
Author: https://github.com/thankyouverycool Commit: https://github.com/SerenityOS/serenity/commit/d495405e53 Pull-request: https://github.com/SerenityOS/serenity/pull/15344
@@ -70,6 +70,8 @@ public:
|
||||
Gfx::IntRect to_content_rect(Gfx::IntRect const& widget_rect) const { return { to_content_position(widget_rect.location()), widget_rect.size() }; }
|
||||
Gfx::IntRect to_widget_rect(Gfx::IntRect const& content_rect) const { return { to_widget_position(content_rect.location()), content_rect.size() }; }
|
||||
|
||||
virtual Optional<UISize> calculated_min_size() const override;
|
||||
|
||||
protected:
|
||||
AbstractScrollableWidget();
|
||||
virtual void custom_layout() override;
|
||||
|
||||
Reference in New Issue
Block a user