paddy-sketch-plugin icon indicating copy to clipboard operation
paddy-sketch-plugin copied to clipboard

Padding applying to text boxes bounding box

Open eladnova opened this issue 6 years ago • 1 comments

Feature request / enhancement

Padding around text will often be start from the text box edge rather than the text itself. Is there any way around this other than setting line height?

In the example below, 5px padding has been applied to all edges but the reality is 9px on top

text-padding

eladnova avatar Aug 24 '18 16:08 eladnova

I'm not sure there is anything paddy could detect, beyond line height, unless the characters were outlined.

You could have two different symbols with different line heights, one for descender, one for baseline.

blaskotron avatar Sep 05 '18 12:09 blaskotron