Merge pull request #137 from michael-k/v0.4.x

Fixes for 0.4.6
This commit is contained in:
Hauke Schade 2014-11-10 20:58:49 +01:00
commit 6f662e989b
2 changed files with 6 additions and 2 deletions

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

View file

@ -77,7 +77,9 @@ ListItem {
Column {
id: content
width: icon.visible ? (parent.width - icon.width) : parent.width
width: icon.visible ?
(parent.width - icon.width - contentRow.spacing) :
parent.width
Label {
width: parent.width