Skip to content

Text display components width is inconsistent with normal content #7752

@AlmostSuspense

Description

@AlmostSuspense

Description

There's a discrepancy between the max width used by normal message content and max width used by Text Display components. Components seem to have an hardcoded limit that wastes a ton of screen space and make large texts look bulkier than they really are.

Steps to Reproduce

  • Send a Text Display component with a fairly large text
  • Notice how the line wraps early, regardless of whether there's room left

Expected Behavior

Similar to regular messages, the text should only wrap when there is no more room, instead of wrapping early and wasting significant horizontal screen space

Current Behavior

Texts wrap early, at a seemingly hardcoded width, wasting a lot of space

This is mainly an issue with text display components specifically

Screenshots/Videos

A regular message:

A regular message

A text display component (zoom is set to 80% to fit, notice the massive amount of wasted space):

A text display component (zoom is set to 80% to fit, notice the massive amount of wasted space):

Client and System Information

Stable 429117 (c562d05)
Host 1.0.9202 x64 (66976)
Windows 11 64-bit (10.0.26100)

This also happens on mobile; while barely an issue on phones, it is noticeable on tablets.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions