Version: unspecified (using KDE 4.6.0) OS: Linux When doing routing in marble it and double click on one waypoint the note shown in the map view is limited to 2 lines so for longer street names or things like that you only get only parts of the information shown. Some friendly developer notes from the IRC: <Earthwings> i'm happy to receive patches, it shouldn't be too hard to do <Earthwings> basically using qfontmetric and the given string <Earthwings> could even be done in geopainter itself, so that the height would be an optional parameter when creating callouts Reproducible: Always
Patch is at http://reviewboard.kde.org/r/6525/
SVN commit 1221644 by nienhueser: 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 M +6 -0 GeoPainter.cpp M +2 -0 GeoPainter.h M +2 -2 routing/RoutingLayer.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1221644
SVN commit 1221645 by nienhueser: 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 Backport of commit 1221644. M +6 -0 GeoPainter.cpp M +2 -0 GeoPainter.h M +2 -2 routing/RoutingLayer.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1221645
SVN commit 1221647 by nienhueser: 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 Backport of commit 1221644. M +6 -0 GeoPainter.cpp M +2 -0 GeoPainter.h M +2 -2 routing/RoutingLayer.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1221647