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

Height is ignored.

Open vinnu-cute opened this issue 12 years ago • 1 comments

This works really good.But when i set parent to certain height.Then the font you choose based on its width cannot fit to that height and thereforce text overflows parent element.Now, thats sad.

vinnu-cute avatar Oct 20 '12 17:10 vinnu-cute

This plugin is definitely missing a test for height. I imagine we could adjust the plugin source here to double-check that the height of the scaled text doesn't exceed the height (if fixed) of the parent container.

This may raise additional issues when parent height isn't fixed, however. We would definitely want to confirm that both cases function as intended before committing such a test to master.

rjz avatar Oct 20 '12 17:10 rjz