Open raphaelloder opened 6 years ago
I have the same issue described here with descenders. I figured I would give Paddy2 Beta a shot and the problem seems to be fixed. However, it also seems like ignoring padding doesn't work in Paddy2 at this point.
I think this may be fixed. As soon as I open your file and click the symbol text and click away, all the instance heights update to match.
i.e. 40 40, 80 80 80, 120 120
Are you using Paddy 2? Because there hasn't been an update in a few months for Paddy.
Ah you're right. I was looking at wrong github.
I was assuming every one moved on from 1.
Bug report
Expected behavior:
When padding is dependent on text layers on a vertical axis (such as a symbol with only text layer and a rectangle with "[0 x]"), the height of the symbol should stay flexible depending on the line-height of the text layer, but independent of the actual content of the text override.
Actual behavior:
The height of the symbol changes depending on if the override text contains letters that have descenders. Only if a descender is present in the override, the height is calculated correctly (irregardless if the original placeholder contains a descender or not). This is also affecting multiple lines. If the last line doesn't have a descender it's wrong again.
Steps to reproduce:
descender-paddy-bug.sketch.zip