留言板

Tooltip top right position

Jan Tošovský,修改在10 年前。

Tooltip top right position

Liferay Master 帖子: 566 加入日期: 10-7-22 最近的帖子
Dear All,

in LR 6.1 I used the align property to place a tooltip either to the bottom or top right:
align: { points: [ 'br', 'tr' ] }

In the current version there is a position attribute for this, but AFAIK accepting only left/right/top/bottom values, not their combinations nor two values at once. When top/bottom values are used, they are centered. This is not ideal in my use case.

Is there any way to get the original behaviour?

Thanks, Jan
thumbnail
Iliyan Peychev,修改在10 年前。

RE: Tooltip top right position

New Member 帖子: 19 加入日期: 10-11-17 最近的帖子
Jan Tošovský:
Dear All,

in LR 6.1 I used the align property to place a tooltip either to the bottom or top right:
align: { points: [ 'br', 'tr' ] }

In the current version there is a position attribute for this, but AFAIK accepting only left/right/top/bottom values, not their combinations nor two values at once. When top/bottom values are used, they are centered. This is not ideal in my use case.

Is there any way to get the original behaviour?

Thanks, Jan



You can still specify these, but as far as I read the code, it won't work as previously, you will get top, bottom, left and right as positions.