mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 17:28:11 +00:00
Profiler: Make the timeline resizable
This just moves the timeline and the tab widget into a horizontal splitter to make them resizable.
This commit is contained in:
parent
a2f919c760
commit
b25eba10d2
1 changed files with 4 additions and 2 deletions
|
@ -124,9 +124,11 @@ int main(int argc, char** argv)
|
|||
timeline_view->add<TimelineTrack>(*timeline_view, *profile, process);
|
||||
}
|
||||
|
||||
[[maybe_unused]] auto& timeline_container = main_widget.add<TimelineContainer>(*timeline_header_container, *timeline_view);
|
||||
auto& main_splitter = main_widget.add<GUI::VerticalSplitter>();
|
||||
|
||||
auto& tab_widget = main_widget.add<GUI::TabWidget>();
|
||||
[[maybe_unused]] auto& timeline_container = main_splitter.add<TimelineContainer>(*timeline_header_container, *timeline_view);
|
||||
|
||||
auto& tab_widget = main_splitter.add<GUI::TabWidget>();
|
||||
|
||||
auto& tree_tab = tab_widget.add_tab<GUI::Widget>("Call Tree");
|
||||
tree_tab.set_layout<GUI::VerticalBoxLayout>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue