Changing formatting of tooltip

This commit is contained in:
Niraj Venkat 2015-06-26 14:41:38 -07:00
parent 55b23731e8
commit 87fce44271

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
}