Skip to content

Fixed huge paragraph spacing in multi-line text (LineHeight 12f -> 1.25f) - #80

Merged
gentledepp merged 1 commit into
developfrom
fix/text_linebreak_distance
Jul 30, 2026
Merged

Fixed huge paragraph spacing in multi-line text (LineHeight 12f -> 1.25f)#80
gentledepp merged 1 commit into
developfrom
fix/text_linebreak_distance

Conversation

@Zeljko-Predjeskovic

Copy link
Copy Markdown
Collaborator

TextInputService hardcoded LineHeight = 12f on both return paths,
overriding the 1.25f default. Each text line is positioned at
fontSize * lineHeight * lineIndex, so lines landed ~10x too far
apart. Set line height to 1.25 and updated TextInputServiceTests.

Before:
line_break_distance_before

After:
line_break_distance_after

@gentledepp
gentledepp merged commit 63dffbf into develop Jul 30, 2026
1 check 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