Skip to content

Make line height a property of TextChunk #183

Open
@gunnsth

Description

@gunnsth

Description

With reference to discussion in #181 more specifically #181 (comment)
TextChunk is not self-sufficient when it comes to calculating its own height as it does not have a line height property.

Currently Line height is a property of Paragraph / StyledParagraph. In the future it would be nice if the line height was a property of the TextStyle so that TextChunk can make needed calculations internally.

Requires some investigation to determine if this can be accomplished without breaking changes etc.

Expected Behavior

A clear and concise description of what you expected to happen.

Actual Behavior

Currently line height is a property of Paragraph / StyledParagraph.

Attachments

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions