1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:57:35 +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

@ -63,7 +63,7 @@ int main(int argc, char** argv)
widget->set_fill_with_background_color(true);
widget->set_layout(make<GUI::VBoxLayout>());
auto splitter = GUI::Splitter::construct(Orientation::Horizontal, widget);
auto splitter = GUI::HorizontalSplitter::construct(widget);
RemoteProcess remote_process(pid);