Skip to content

Commit

Permalink
Sanitize header text in heat maps
Browse files Browse the repository at this point in the history
  • Loading branch information
schmelter-sap authored and buchen committed Nov 11, 2023
1 parent 353ed6c commit 34a417a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ private void addHeaderRow(Composite table, HeatmapModel<?> model)

model.getHeader().forEach(header -> {
CLabel l = new CLabel(table, SWT.CENTER);
l.setText(header.getLabel());
l.setText(TextUtil.tooltip(header.getLabel()));
l.setBackground(table.getBackground());

InfoToolTip.attach(l, header.getToolTip() != null ? header.getToolTip() : header.getLabel());
Expand Down

0 comments on commit 34a417a

Please sign in to comment.