Skip to content

Label with spans renders incorrectly inside of a padding element #6

Open
@ronnyek

Description

@ronnyek

I know this project hasn't seen much love lately... I'm hoping its not totally dead. I have a need to generate images in a templated type way, and have found nothing better yet, to simply take a SKCanvas, and start laying out elements on it.

I took the basic example of the grid, with the title/image/icon/etc, and put it within a padding element with a margin of 20. Everything including regular labels render exactly as expected, but rendering the label with multiple spans, seems to ignore the padding, and appears left 0, and 20px above where I'd expect.

Debugging, I see output that shows the grid cell tries to render [Label:] Layout in {Left=0,Top=100,Width=460,Height=200} (with no compensation for the padding).

Just hoping someone sees this, and has an idea of what might be causing it.

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