[sailfish] Fixed cropping in CategoryDelegate

Regards #127
This commit is contained in:
Michael Käufl 2014-11-01 19:43:59 +01:00
parent 71eba9a209
commit 6e64182e20

View file

@ -34,7 +34,9 @@ ListItem {
anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.left
anchors.margins: Theme.paddingMedium
width: parent.width - bubble.width - Theme.paddingMedium
width: parent.width - anchors.margins // left margin
- Theme.paddingMedium // spacing between label and bubble
- bubble.width - bubble.anchors.margins // right margin
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
// todo: check for performance issues,
// was StyledText before, which might be better