Merge pull request #5214 from venkatn93/master

Changing formatting of tooltip
This commit is contained in:
Stephen Birarda 2015-06-26 18:27:59 -04:00
commit 5b660e8c91

View file

@ -38,10 +38,9 @@ Hifi.Tooltip {
Text {
id: textPlace
color: "white"
font.underline: true
anchors.left: parent.left
anchors.right: parent.right
font.pixelSize: hifi.fonts.pixelSize / 2
font.pixelSize: hifi.fonts.pixelSize * 2
text: root.text
wrapMode: Text.WrapAnywhere
@ -53,6 +52,15 @@ Hifi.Tooltip {
*/
}
Rectangle {
id: seperator
color: "white"
width: col.width
height: hifi.layout.spacing / 3
anchors.left: parent.left
anchors.right: parent.right
}
Image {
id: tooltipPic
source: "../images/NoPictureProvided.svg"
@ -67,7 +75,7 @@ Hifi.Tooltip {
width: border.implicitWidth
anchors.left: parent.left
anchors.right: parent.right
font.pixelSize: hifi.fonts.pixelSize / 2
font.pixelSize: hifi.fonts.pixelSize
text: root.text
wrapMode: Text.WrapAnywhere
}