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

paddingLeft with anchor: 'center' does not work? #763

Open
winkyBrain opened this issue Feb 21, 2023 · 0 comments
Open

paddingLeft with anchor: 'center' does not work? #763

winkyBrain opened this issue Feb 21, 2023 · 0 comments

Comments

@winkyBrain
Copy link

🐛 Bug report

Hello! There is a bug:

Steps to Reproduce

  1. create component with type: 'text', dock: 'left'
  2. set anchor: 'center' with text that does not fit in height or fits end-to-end
  3. set paddingLeft: 0

Expected behavior

I expect text starting from beginning of y-axis

Actual behavior

Text still starting with some padding and more text goes beyond the graph than we would like. And if the text could fit, then because of this padding, it still does not fit

Versions

  • picasso.js: 1.10.0
  • Browser: chome. opera
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant