Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ronnyek opened this issue Jan 31, 2023 · 0 comments
Open

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

ronnyek opened this issue Jan 31, 2023 · 0 comments

Comments

@ronnyek
Copy link

ronnyek commented Jan 31, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant