Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tooltip text is misaligned #1977

Closed
IonutLaceanu opened this issue Feb 4, 2016 · 9 comments
Closed

Tooltip text is misaligned #1977

IonutLaceanu opened this issue Feb 4, 2016 · 9 comments

Comments

@IonutLaceanu
Copy link
Contributor

In v2, when I change the alignment of tooltip's title or body, the text goes out of the tooltip on the left side.

right align:
screenshot 2016-02-04 11 08 47

center align:
screenshot 2016-02-04 11 09 13

@etimberg etimberg added this to the Version 2.1 milestone Feb 5, 2016
@mnsrv
Copy link
Contributor

mnsrv commented Apr 22, 2016

This happens because CanvasRendering.

I tried to solve this problem with changing x coordinate off ctx.fillText if align is center or right.

@lakenen
Copy link

lakenen commented May 26, 2016

Any update on this? I'm seeing this issue as well.

@etimberg
Copy link
Member

Confirmed this is fixed after #3446 was merged when using the xAlign and yAlign tooltip options.

@zlorf
Copy link

zlorf commented Feb 23, 2017

Unfortunately, the issue is still present in 2.5.0:
http://codepen.io/anon/pen/RpwppR

@nelsonkoehn
Copy link

As of 2.7.1 the alignment of the tooltip text is still off.
titleAlign, bodyAlign and footerAlign use the x edge of the tooltip model as a base for the text alignment.

@tilds
Copy link

tilds commented Oct 17, 2018

Should this issue be reopened since it is still a bug, or is there a new issue for this?

@Rodigee
Copy link

Rodigee commented Nov 9, 2018

Is there a work-around for this bug? I tried to look for a property to add padding to the text of the tooltip but couldn't find anything.

@elarbee
Copy link

elarbee commented Nov 14, 2018

I'm having this issue in 2.7.2 and cannot get text alignment with any combination of bodyAlign and xAlign.

@Bloodcast69
Copy link

Would like to know when this problem will be resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests