diff options
author | Andreas Kling <kling@serenityos.org> | 2021-08-14 01:27:40 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-14 01:28:26 +0200 |
commit | 0d21a1307e0af01767bc0c4b22854c8166026613 (patch) | |
tree | aaf441d5214bfe26d74f82eb02fc016f84d60f25 /Userland/DevTools | |
parent | 8f590cbeb8adfc6eda25fc34c2d0cfeb7333f81d (diff) | |
download | serenity-0d21a1307e0af01767bc0c4b22854c8166026613.zip |
Profiler: Set the initial size of the timeline container to a snug fit
Diffstat (limited to 'Userland/DevTools')
-rw-r--r-- | Userland/DevTools/Profiler/TimelineContainer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/DevTools/Profiler/TimelineContainer.cpp b/Userland/DevTools/Profiler/TimelineContainer.cpp index 2df77f1bdd..fdaf940e00 100644 --- a/Userland/DevTools/Profiler/TimelineContainer.cpp +++ b/Userland/DevTools/Profiler/TimelineContainer.cpp @@ -22,6 +22,8 @@ TimelineContainer::TimelineContainer(GUI::Widget& header_container, TimelineView update_widget_sizes(); update_widget_positions(); + set_fixed_height(timeline_view.height() + frame_thickness() * 2); + m_timeline_view->on_scale_change = [this] { update_widget_sizes(); update_widget_positions(); |