Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Trailing Padding When Not Wrapping #66

Open
thecoolwinter opened this issue Feb 2, 2025 · 0 comments
Open

✨ Trailing Padding When Not Wrapping #66

thecoolwinter opened this issue Feb 2, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@thecoolwinter
Copy link
Contributor

thecoolwinter commented Feb 2, 2025

Description

When lines are not wrapped, there should be additional padding added to the trailing edge. This should probably be configurable for other consumers of this package.

Xcode and other editors add a trailing padding when not wrapping lines so there's better spacing visually on the trailing edge. I don't think this is default behavior for text views, which is why it should be either configurable or be able to be disabled. In Xcode, the padding is 48 pixels.

Alternatives Considered

The method in CodeEditApp/CodeEditSourceEditor#272 was considered, but this has it's own issues. This type of text layout should be in the text editor.

Additional Context

No response

Screenshots

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 📋 Todo
Development

No branches or pull requests

1 participant