Skip to content

Conversation

@nicbarker
Copy link
Owner

As suggested by @SogoCZE, this PR switches the concept of lineSpacing in Clay_TextElementConfig for lineHeight. In summary, previously the value added extra pixels of vertical whitespace between wrapped text lines, and now it controls the absolute height (in pixels) of wrapped lines of text, bringing it more in line with the design of other UI layout systems such as CSS.

@nicbarker nicbarker merged commit 51082d2 into main Oct 5, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants