1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:07:45 +00:00

Profiler: Tweak timeline widget appearance

Use a thinner frame, and ColorRole::Base for the background.
This commit is contained in:
Andreas Kling 2021-05-06 18:46:20 +02:00
parent 9273054b2b
commit 84c4c2d884

View file

@ -17,8 +17,10 @@ ProfileTimelineWidget::ProfileTimelineWidget(Profile& profile, Process const& pr
, m_process(process)
{
set_fill_with_background_color(true);
set_background_role(Gfx::ColorRole::Base);
set_fixed_height(40);
set_fixed_width(m_profile.length_in_ms() / 10);
set_frame_thickness(1);
m_hover_time = m_profile.first_timestamp();
}