From 87fce44271c76b99e19ecc568c20c97dab9fc94f Mon Sep 17 00:00:00 2001 From: Niraj Venkat Date: Fri, 26 Jun 2015 14:41:38 -0700 Subject: [PATCH] Changing formatting of tooltip --- interface/resources/qml/Tooltip.qml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/interface/resources/qml/Tooltip.qml b/interface/resources/qml/Tooltip.qml index 169e5fe211..6b8d7014b4 100644 --- a/interface/resources/qml/Tooltip.qml +++ b/interface/resources/qml/Tooltip.qml @@ -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 }