We have moved to a new Sailfish OS Forum. Please start new discussions there.
0

[Bug] Text/Label doesn't show many images with wrapMode

asked 2015-04-28 20:52:29 +0200

Ósanwe gravatar image

Hi everyone!

I use EmojiOne in my app, and I encountered this problem. If I set wrapMode into Text.Wrap or Text.WordWrap I don't see images if there are more images than can be input into one line.

My current Label config:

Label {
    id: messageText
    width: parent.parent.width - Theme.paddingMedium - messageAvatar.width
    height: contentHeight
    horizontalAlignment: out === 1 ? Text.AlignRight : Text.AlignLeft
    text: EmojiOne.toImage(message)
    textFormat: Text.StyledText
    linkColor: readState === 1 ? Theme.secondaryColor : Theme.secondaryHighlightColor
    color: readState === 1 ? Theme.primaryColor : Theme.highlightColor
    wrapMode: Text.Wrap

    onLinkActivated: Qt.openUrlExternally(link)
}
edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
0

answered 2015-04-29 12:20:11 +0200

coderus gravatar image

Report this to Qt bugtracker please. Sailfish/Jolla can do nothing with it.

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2015-04-28 20:52:29 +0200

Seen: 112 times

Last updated: Apr 29 '15