Skip to content

Conversation

ian-howell
Copy link

This addresses a bug when rendering Lists that causes them to ignore the width value provided by New and SetSize. It works by extending the existing "truncate" logic with additional padding logic to ensure that each line of text is exactly the width of the list.

This addresses #744

This addresses a bug when rendering Lists that causes them to ignore the
`width` value provided by `New` and `SetSize`. It works by extending the
existing "truncate" logic with additional padding logic to ensure that
each line of text is exactly the width of the list.
@ian-howell ian-howell requested a review from meowgorithm as a code owner March 15, 2025 20:14
@kalyncoose
Copy link

I believe the root cause is actually the help text rendering past the list's m.width, re: #744 (comment)

@kalyncoose
Copy link

I believe the root cause is actually the help text rendering past the list's m.width, re: #744 (comment)

New PR: #760

@ian-howell
Copy link
Author

The original issue didn't have the help message shown though...

@kalyncoose
Copy link

The original issue didn't have the help message shown though...

That's okay maybe both our PRs are needed then. Separate issues, same component.

@ian-howell
Copy link
Author

@meowgorithm Sorry to bother, but could I please get a review on this?

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