Skip to content

Fix timegraph misalignment when entry label is blank#1209

Merged
PatrickTasse merged 1 commit intoeclipse-cdt-cloud:masterfrom
PatrickTasse:height
Jul 2, 2025
Merged

Fix timegraph misalignment when entry label is blank#1209
PatrickTasse merged 1 commit intoeclipse-cdt-cloud:masterfrom
PatrickTasse:height

Conversation

@PatrickTasse
Copy link
Contributor

What it does

Set the height for timegraph td in .css stylesheet since the line-height for timegraph tr does not apply if there is no text.

Fixes #1208

How to test

Open kernel trace and Resources status view. Check that separator rows between CPUs have same height in tree and timegraph.

Follow-ups

Consider supporting variable height rows. See issue #133.

Review checklist

  • As an author, I have thoroughly tested my changes and carefully followed the instructions in this template

Set the height for timegraph td in .css stylesheet since the line-height
for timegraph tr does not apply if there is no text.

Fixes eclipse-cdt-cloud#1208

Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Copy link
Contributor

@bhufmann bhufmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It fixes the referenced bug. Thanks for the contribution.

@PatrickTasse PatrickTasse merged commit a2c9c8b into eclipse-cdt-cloud:master Jul 2, 2025
8 checks passed
@PatrickTasse PatrickTasse deleted the height branch July 2, 2025 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Timegraph misalignment when entry label is blank

2 participants