Skip to content

Set fixed width to due field in list #34

@riodelphino

Description

@riodelphino

Is your feature request related to a problem? Please describe.
#30 solved the alignment problem. Now only due field's flexible length is disturbing the column alignment.

Describe the solution you'd like
Set fixed width to due field in list, to align itself.

  • Fix the due width (e.g. 16 chars like 2025-01-01 00:00. Or, overdue is the longest I've ever seen, so 7 chars.
  • (Need to plus 󰃰 calendar icon's length or not ?)
  • Align them to left, or right in the fixed column width.

Describe alternatives you've considered
This is just a my preference.
For others who don't want align the field:

  • Add option to config.toml
    Just my sloppy example:
[list.fields]
due = [
    align = "left",
    length = 0,  # 0: flexible, 1>=: fixed and trimed
]

Additional context
Only due field is disturbing the beautiful UI:
Image

Metadata

Metadata

Labels

backendanything related to core logiccool afcool feature, must be added 100%enhancementNew feature or requestimportantvery urgent, must be done asapquestionFurther information is requested

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions