Why is preffered-width of ListView 0px? #9324
Unanswered
kermitfrog
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
With the following code, the ListView will always be invisible. Debug output tells me that it's preferred-width is 0; Setting alignment to stretch will produce the desired result for me in this case, but I wonder why this is.
I would expect ListView to have a preferred-width based on it's children.
Is this a bug or is there a good reason for this (and if so, which one )?
Is there a way to force it to base it's preferred-width on it's children?
Beta Was this translation helpful? Give feedback.
All reactions