mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 23:57:13 +02:00
Working on tooltip placement
This commit is contained in:
parent
7bbaf026f3
commit
100f7acddc
1 changed files with 3 additions and 2 deletions
|
@ -6,8 +6,9 @@ import "styles"
|
||||||
Hifi.Tooltip {
|
Hifi.Tooltip {
|
||||||
id: root
|
id: root
|
||||||
HifiConstants { id: hifi }
|
HifiConstants { id: hifi }
|
||||||
x: lastMousePosition.x
|
// FIXME adjust position based on the edges of the screen
|
||||||
y: lastMousePosition.y
|
x: lastMousePosition.x + 20
|
||||||
|
y: lastMousePosition.y + 5
|
||||||
implicitWidth: border.implicitWidth
|
implicitWidth: border.implicitWidth
|
||||||
implicitHeight: border.implicitHeight
|
implicitHeight: border.implicitHeight
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue