Skip to content

Label Multiline is broken #99

@JADERLINK

Description

@JADERLINK

Label Multiline is broken

The error is present starting from commit: 08f5eeb

In file: "src/Modern.Forms/Renderers/LabelRenderer.cs"
changed the line of:

e.Canvas.DrawText (control.Text, text_bounds, control, control.TextAlign, maxLines: control.Multiline ? (int?)null : 1, ellipsis: control.AutoEllipsis);

To:

e.Canvas.DrawText (control.Text, layout.TextBounds, control, control.TextAlign, maxLines: 1, ellipsis: control.AutoEllipsis);

From this point on, the label will only display text on a single line, and the "Multiline" property will no longer function.

Please correct the error or remove the "Multiline" property.

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