mirror of
https://github.com/overte-org/overte.git
synced 2025-06-15 21:59:22 +02:00
Changing formatting of tooltip
This commit is contained in:
parent
55b23731e8
commit
87fce44271
1 changed files with 11 additions and 3 deletions
|
@ -38,10 +38,9 @@ Hifi.Tooltip {
|
||||||
Text {
|
Text {
|
||||||
id: textPlace
|
id: textPlace
|
||||||
color: "white"
|
color: "white"
|
||||||
font.underline: true
|
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
font.pixelSize: hifi.fonts.pixelSize / 2
|
font.pixelSize: hifi.fonts.pixelSize * 2
|
||||||
text: root.text
|
text: root.text
|
||||||
wrapMode: Text.WrapAnywhere
|
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 {
|
Image {
|
||||||
id: tooltipPic
|
id: tooltipPic
|
||||||
source: "../images/NoPictureProvided.svg"
|
source: "../images/NoPictureProvided.svg"
|
||||||
|
@ -67,7 +75,7 @@ Hifi.Tooltip {
|
||||||
width: border.implicitWidth
|
width: border.implicitWidth
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
font.pixelSize: hifi.fonts.pixelSize / 2
|
font.pixelSize: hifi.fonts.pixelSize
|
||||||
text: root.text
|
text: root.text
|
||||||
wrapMode: Text.WrapAnywhere
|
wrapMode: Text.WrapAnywhere
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue