Skip to content

[Feature Request]: Helper for wrapping first column to reduce white space #260

Description

@llrs-roche

Feature description

First column of summaries tend to have lots of labels and levels. They might be of different length resulting in some places with lots of empty space at the level too:

Image

Adding new lines fixes one but might not be enough as other levels might be longer than the new shorter lines:

Image

I think the ideal solution would take the length of the labels, the length of the levels, where empty spaces can be replaced by new line, how this would affect the line length and the indentation of the levels.

A function could format the first column so that the new line is placed in all labels that need it to reduce the white space after the levels till the next column. But with long and complex names it might be hard to break them. Something like formatters::propose_column_width() or one step further to actually modify the labels (modify_characteristic() ?)

Code of Conduct

  • I agree to follow this project's Code of Conduct.

Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines.

Security Policy

  • I agree to follow this project's Security Policy.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions