1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:28:12 +00:00

LibGUI: Add HorizontalSplitter and VerticalSplitter convenience classes

This commit is contained in:
Andreas Kling 2020-02-06 14:40:59 +01:00
parent 8bb75084fd
commit 6a71ba1deb
10 changed files with 37 additions and 13 deletions

View file

@ -45,7 +45,7 @@ IRCWindow::IRCWindow(IRCClient& client, void* owner, Type type, const String& na
set_layout(make<GUI::VBoxLayout>());
// Make a container for the log buffer view + (optional) member list.
auto container = GUI::Splitter::construct(Orientation::Horizontal, this);
auto container = GUI::HorizontalSplitter::construct(this);
m_html_view = HtmlView::construct(container);