Skip to content

StyledText: ability to draw onto background, but under foreground (text) #3313

@tmssngr

Description

@tmssngr

Is your feature request related to a problem? Please describe.
We want to draw horizontal lines to separate blocks of text and vertical lines to indicate positions without drawing partly over the text. Screenshot of current solution with drawing the lines after the text which hides lower parts of the g (used font: "CommitMono").

Image

Describe the solution you'd like
I imagine some event hook for StyledText that is invoked after drawing the background and before drawing the text.

Describe alternatives you've considered
Currently, we draw these lines after the text, hiding parts of the text. Hence this is no good alternative.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions