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

@ -199,7 +199,7 @@ void IRCAppWindow::setup_widgets()
outer_container->set_layout(make<GUI::VBoxLayout>());
outer_container->layout()->set_margins({ 2, 0, 2, 2 });
auto horizontal_container = GUI::Splitter::construct(Orientation::Horizontal, outer_container);
auto horizontal_container = GUI::HorizontalSplitter::construct(outer_container);
m_window_list = GUI::TableView::construct(horizontal_container);
m_window_list->set_headers_visible(false);