Pitfall of ProgressRing visibility #9500
Closed
ArchieCoder
started this conversation in
General
Replies: 1 comment 1 reply
-
No. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Earlier this week, I thought there was a bug in the WrapPanel control. My WrapPanel contains buttons and a ProgressRing.
My common usage when I add a ProgressRing is using a binding on the IsActive property. As you would expect, when IsActive is False, the control is now shown.
When resizing my view that contains the WrapPanel, I had the bug that there was a point where the WrapPanel wrapped into 2 lines where the 2nd line was empty! This was obviously not great.
When I dig more, I found out that I was missing the Visibility on the control.
When IsActive is False (not shown), the control size retains its full size.
Would it be better to have a zero size when IsActive is False?
Beta Was this translation helpful? Give feedback.
All reactions