tmf: Bug 478216: Incorrect text highlighting in event table due to tabs
authorPatrick Tasse <patrick.tasse@gmail.com>
Wed, 23 Sep 2015 18:01:39 +0000 (14:01 -0400)
committerPatrick Tasse <patrick.tasse@gmail.com>
Wed, 23 Sep 2015 20:56:07 +0000 (16:56 -0400)
commit567d309569b188e21e132f7d6cdfdbc4f89a1a1c
tree8e60e8cc64a00302a6e83efb929d62847f77b8f2
parentba76bd310f518473d45eaf9f289811067e31bd7a
tmf: Bug 478216: Incorrect text highlighting in event table due to tabs

Use GC.textExtent() instead of GC.stringExtent() to calculate the
matching text background highlight x-coordinates, as this method
supports tab expansion.

Change-Id: I98cfdc7e46e7f10086882650f941fc099544f898
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/56554
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/viewers/events/TmfEventsTable.java
This page took 0.032831 seconds and 5 git commands to generate.