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

GTreeView: A bunch of work on the tree view.

This commit is contained in:
Andreas Kling 2019-03-29 14:46:53 +01:00
parent d02238af48
commit 474340b9cd
5 changed files with 215 additions and 9 deletions

View file

@ -53,6 +53,8 @@ int main(int argc, char** argv)
auto* splitter = new GWidget(widget);
splitter->set_layout(make<GBoxLayout>(Orientation::Horizontal));
auto* tree_view = new GTreeView(splitter);
tree_view->set_size_policy(SizePolicy::Fixed, SizePolicy::Fill);
tree_view->set_preferred_size({ 200, 0 });
auto* directory_view = new DirectoryView(splitter);
auto* statusbar = new GStatusBar(widget);