picasso.js icon indicating copy to clipboard operation
picasso.js copied to clipboard

paddingLeft with anchor: 'center' does not work?

Open winkyBrain opened this issue 2 years ago • 0 comments

🐛 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

winkyBrain avatar Feb 21 '23 04:02 winkyBrain