tmf: Make font depend on item height in time graph
authorPatrick Tasse <patrick.tasse@gmail.com>
Thu, 17 Dec 2015 23:18:19 +0000 (18:18 -0500)
committerPatrick Tasse <patrick.tasse@gmail.com>
Fri, 8 Jan 2016 17:52:38 +0000 (12:52 -0500)
commit83d0971d465d113d9a7ec857349c65cab57b549f
treed2878cf67b1f9d6fb623f1767cc5c1a87a044672
parentd9ce6f2bbade5d9096c4f1496a98f08dd75d3388
tmf: Make font depend on item height in time graph

The font used for drawing item names and state labels is now dependent
on each item's height.

The time graph combo no longer has to adjust the time graph control's
font when zooming vertically.

A map of fonts per height is used.

The item state rectangles are adjusted to use less margin height when
the item height is decreased.

Change-Id: I1838855d864e76646bc8e387682ca0cb3c28c418
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/62980
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/widgets/timegraph/TimeGraphCombo.java
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/widgets/timegraph/widgets/TimeGraphControl.java
This page took 0.025861 seconds and 5 git commands to generate.