Elide text of flamegraph items
authorMilian Wolff <mail@milianw.de>
Sat, 21 Jan 2017 23:42:23 +0000 (00:42 +0100)
committerMilian Wolff <mail@milianw.de>
Sat, 21 Jan 2017 23:56:07 +0000 (00:56 +0100)
commit4413e89a6735c9d36edf2b05621e08d652f20666
treead67194829d9c312c5e4951819b3d983c2c353ba
parentde6f4524582b531e182ed0d36d15cf9b573123c4
Elide text of flamegraph items

This prevents the flickering when hovering an item with a long text.
That lead the label to wordwrap, increasing the height of the label,
decreasing the height of the view, moving the scene, thus the mouse
points to a different view and we would repeat again.

Now we simply elide the text on the right of the label. This works,
but it's cutting of the text too soon, since it cannot cope with
the HTML and thinks all of these chars will get painted...
src/analyze/gui/flamegraph.cpp
src/analyze/gui/flamegraph.h