Skip to content
Commit 721ee30a authored by Dennis Nienhüser's avatar Dennis Nienhüser
Browse files

Draw horizontally centered labels on top of their icons, not below.

Seems more widespread. This works around an issue in label pixmap
calculation where we assume the label text to be quite some pixel
higher than they really are, resulting in odd looking vertical space.
Previously that was softened with the factor 1.5, which is the wrong
approach though and lead to symbol/label overlaps in some cases.

TODO FIXME: At least in Glow mode the labelPixmap has a bunch of empty
(transparent) pixel rows on top, originating from a wrong
text height calculation. This wastes some memory, costs some render
performance, and prevents squeezing more items into roomForLabel().
parent e101518d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment