Skip to content

Skia: wrap: no-wrap (the default) still wraps  #7080

Open
@ogoffart

Description

@ogoffart

Bug Description

Skia is different than every other renderer with respect to wrapping: it always wrap while the other renderer don't wrap by default.

In the above example, the text is being wrap with skia and only skia.

Reproducible Code (if applicable)

export component X inherits Window {
    preferred-width: 300px;
    preferred-height: 300px;
    HorizontalLayout {
        padding: 30px;
        Text {
            min-width: 10px;
            min-height: 10px;
            text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\nDuis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.";
        }
    }
}

Environment Details

  • Backend/Renderer: Skia

Product Impact

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    a:renderer-skiaSkia Renderer (mS)bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions