Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

Issue: Word-wrap requires two render cycles #108

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

cceckman
Copy link
Contributor

I'm pretty sure I'd commented on this previously, but hadn't been able to come up with a good example- here is one.

When a Label has wordwrap enabled, it isn't able to compute its SizeHint until it has an initial Size (for its width). However, when embedded in e.g. Box, it means the initial sizing isn't accurate- it gets cut off until it's resized again, at which point the SizeHint is accurate.

This just demonstrates the issue without actually fixing it. :-(

(This is rebased on top of #105 because it was easier for me to see the blank lines that way.)

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

Successfully merging this pull request may close these issues.

None yet

1 participant