Extend drawAnnotation() to calculate and use the optimal text height when an invalid...
authorDennis Nienhüser <earthwings@gentoo.org>
Sat, 19 Feb 2011 21:45:30 +0000 (21:45 +0000)
committerDennis Nienhüser <earthwings@gentoo.org>
Sat, 19 Feb 2011 21:45:30 +0000 (21:45 +0000)
commitbad36402a39711924a3e78915885b1f0b585a20e
treecd6fe56dd0fb7f71baec18d8438d438988b428ae
parentf2a027683873208adbd0f408ed195ee793217731
Extend drawAnnotation() to calculate and use the optimal text height when an invalid height is passed. Use it for painting driving instructions in the map. Fixes long instructions being cut off. Reduce the rounded corner radius for a better text/bubble ratio.
BUG: 265926
REVIEW: 6525

git-svn-id: svn+ssh://svn.kde.org/home/kde/trunk/KDE/kdeedu/marble@1221644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
src/lib/GeoPainter.cpp
src/lib/GeoPainter.h
src/lib/routing/RoutingLayer.cpp