diff --git a/interface/resources/qml/Tooltip.qml b/interface/resources/qml/Tooltip.qml index 4cca4c4c38..216d1a093f 100644 --- a/interface/resources/qml/Tooltip.qml +++ b/interface/resources/qml/Tooltip.qml @@ -12,25 +12,28 @@ Hifi.Tooltip { implicitWidth: border.implicitWidth implicitHeight: border.implicitHeight + /* Border { id: border anchors.fill: parent implicitWidth: tooltipBackground.implicitWidth //implicitHeight: Math.max(text.implicitHeight, 64) - implicitHeight: tooltipBackground.implicitHeight + implicitHeight: tooltipBackground.implicitHeight*/ - Original.Image { - id: tooltipBackground - source: "../images/tooltip_container.svg" - width: 323 - height: 423 - anchors.fill: parent + Original.Rectangle { + id: border + color: "#7f000000" + implicitWidth: 322 + implicitHeight: col.height + hifi.layout.spacing * 2 ColumnLayout { + id: col spacing: 5 Text { id: textPlace + color: "#ffffff" + width: border.implicitWidth //anchors.fill: parent anchors.margins: 5 font.pixelSize: hifi.fonts.pixelSize / 2 @@ -49,6 +52,8 @@ Hifi.Tooltip { Text { id: textDescription + color: "#ffffff" + width: border.implicitWidth //anchors.fill: parent anchors.margins: 5 font.pixelSize: hifi.fonts.pixelSize / 2 @@ -58,5 +63,5 @@ Hifi.Tooltip { } } - } -} + //} +} \ No newline at end of file