Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit df0d9cc

Browse files
committedNov 21, 2024
Show column in TimegraphOutputComponent if back-end provides them
No header is drawed with the commit. Fixes eclipse-cdt-cloud#1149 Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
1 parent 635a34c commit df0d9cc

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed
 

‎packages/react-components/src/components/timegraph-output-component.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,7 @@ export class TimegraphOutputComponent extends AbstractTreeOutputComponent<Timegr
540540
className="table-tree timegraph-tree"
541541
emptyNodes={this.state.emptyNodes}
542542
hideEmptyNodes={this.shouldHideEmptyNodes}
543+
headers={this.state.columns}
543544
/>
544545
</div>
545546
<div ref={this.markerTreeRef} className="scrollable" style={{ height: this.getMarkersLayerHeight() }}>

‎packages/react-components/style/output-components-style.css

+4-2
Original file line numberDiff line numberDiff line change
@@ -306,17 +306,19 @@ canvas {
306306
}
307307

308308
.timegraph-tree {
309-
border: 0px;
309+
border-collapse: collapse;
310310
}
311311

312312
.timegraph-tree tr {
313313
/* TODO: Fix row alignment, this number is arbitrary, it works [on my machine], but it should match line height in timeline-chart */
314314
line-height: 18px;
315+
border:none;
315316
}
316317

317318
.timegraph-tree td {
318319
padding: 1px;
319-
border: 0px;
320+
border-left: 1px solid var(--trace-viewer-tree-inactiveIndentGuidesStroke);
321+
border-bottom:none;
320322
}
321323

322324
#input-filter-container {

0 commit comments

Comments
 (0)
Please sign in to comment.