Bug on Text element
-
I have a very simple Text element as
@Text {
id: label
anchors.centerIn: parent
text: qsTr("Hello the world!")
width: 35
wrapMode: Text.Wrap
visible: false
color: "gray"
font.underline: true
// textFormat: Text.RichText
}@
however, seems that there is a bug which make- the first line has correct color and underline
- second line has wrong color (black) and no underline
- third line has wrong color (black) but with underline
Is there anyone having the same problem with me?
-
full page qml code as requested :-)
@import QtQuick 1.1
import com.nokia.meego 1.0Page {
tools: commonToolsText { id: label anchors.centerIn: parent text: qsTr("Hello the world!") width: 35 wrapMode: Text.Wrap visible: false color: "gray" font.underline: true
// textFormat: Text.RichText
}Button{ anchors { horizontalCenter: parent.horizontalCenter top: label.bottom topMargin: 10 } text: qsTr("Click here!") onClicked: { label.visible = true } }
}@