summaryrefslogtreecommitdiff
path: root/DevTools/Profiler/ProfileTimelineWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'DevTools/Profiler/ProfileTimelineWidget.cpp')
-rw-r--r--DevTools/Profiler/ProfileTimelineWidget.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/DevTools/Profiler/ProfileTimelineWidget.cpp b/DevTools/Profiler/ProfileTimelineWidget.cpp
index 025af2c5f9..bbaf38973f 100644
--- a/DevTools/Profiler/ProfileTimelineWidget.cpp
+++ b/DevTools/Profiler/ProfileTimelineWidget.cpp
@@ -33,8 +33,7 @@ ProfileTimelineWidget::ProfileTimelineWidget(Profile& profile)
{
set_background_color(Color::White);
set_fill_with_background_color(true);
- set_size_policy(GUI::SizePolicy::Fill, GUI::SizePolicy::Fixed);
- set_preferred_size(0, 80);
+ set_fixed_height(80);
}
ProfileTimelineWidget::~ProfileTimelineWidget()