charts: Update label display when populating (bug 517600)
authorGeneviève Bastien <gbastien+lttng@versatic.net>
Mon, 13 Mar 2017 15:48:10 +0000 (11:48 -0400)
committerGenevieve Bastien <gbastien+lttng@versatic.net>
Thu, 1 Jun 2017 13:22:49 +0000 (09:22 -0400)
commit434926a674147c49fa35cf7b577fc20f61f46c6f
treee73f7f683fa84fa04e7039401d26bd2bb53cf6ea
parenta6a83eae43fa89dddc9f0bde3fe1336c6b14171f
charts: Update label display when populating (bug 517600)

If labels are long, they need to be truncated to avoid taking too much
real estate in the chart. But the resize was called only when the
control was resized and not when being populated.

Change-Id: I3f25e4ba065678d0e7697702d7083e0a4ace62cb
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/92952
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
tmf/org.eclipse.tracecompass.tmf.chart.ui/src/org/eclipse/tracecompass/internal/tmf/chart/ui/swtchart/SwtXYChartViewer.java
This page took 0.024632 seconds and 5 git commands to generate.