mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:47:45 +00:00
Profiler: Set the initial size of the timeline container to a snug fit
This commit is contained in:
parent
8f590cbeb8
commit
0d21a1307e
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue