mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:57:45 +00:00
LibWeb: Simplify LayoutWidget layout
Set the intrinsic size up front and let LayoutReplaced do the work.
This commit is contained in:
parent
83cda9e79e
commit
11f2c59219
2 changed files with 4 additions and 11 deletions
|
@ -35,7 +35,6 @@ public:
|
|||
LayoutWidget(const Element&, GUI::Widget&);
|
||||
virtual ~LayoutWidget() override;
|
||||
|
||||
virtual void layout(LayoutMode = LayoutMode::Default) override;
|
||||
virtual void render(RenderingContext&) override;
|
||||
|
||||
GUI::Widget& widget() { return m_widget; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue