Working on tooltip placement

This commit is contained in:
Bradley Austin Davis 2015-06-18 13:46:27 -07:00
parent 7bbaf026f3
commit 100f7acddc

View file

@ -6,8 +6,9 @@ import "styles"
Hifi.Tooltip {
id: root
HifiConstants { id: hifi }
x: lastMousePosition.x
y: lastMousePosition.y
// FIXME adjust position based on the edges of the screen
x: lastMousePosition.x + 20
y: lastMousePosition.y + 5
implicitWidth: border.implicitWidth
implicitHeight: border.implicitHeight