picasso.js
picasso.js copied to clipboard
paddingLeft with anchor: 'center' does not work?
🐛 Bug report
Hello! There is a bug:
Steps to Reproduce
- create component with type: 'text', dock: 'left'
- set anchor: 'center' with text that does not fit in height or fits end-to-end
- 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