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:
parent
d02238af48
commit
474340b9cd
5 changed files with 215 additions and 9 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue