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:
parent
9273054b2b
commit
84c4c2d884
1 changed files with 2 additions and 0 deletions
|
@ -17,8 +17,10 @@ ProfileTimelineWidget::ProfileTimelineWidget(Profile& profile, Process const& pr
|
||||||
, m_process(process)
|
, m_process(process)
|
||||||
{
|
{
|
||||||
set_fill_with_background_color(true);
|
set_fill_with_background_color(true);
|
||||||
|
set_background_role(Gfx::ColorRole::Base);
|
||||||
set_fixed_height(40);
|
set_fixed_height(40);
|
||||||
set_fixed_width(m_profile.length_in_ms() / 10);
|
set_fixed_width(m_profile.length_in_ms() / 10);
|
||||||
|
set_frame_thickness(1);
|
||||||
m_hover_time = m_profile.first_timestamp();
|
m_hover_time = m_profile.first_timestamp();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue