Skip to content

TextFormatter only draw the text width without fill the remaining bounds width with spaces. #2002

@BDisp

Description

@BDisp

If a view width is bigger than the text length and we needed to fill the remaining with spaces. This allows any view to leverage all the text alignment feature.
Another advantage of this fill option is that isn't needed to clear the area before write. The View.Redraw currently use two methods to write to the screen, Clear and Draw. Using only the Draw method is possible to clear what is to be cleared and write what have to be write, increasing the performance.

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