LayoutTransformControl behaves oddly in UniformGrid #3982
Replies: 8 comments
-
When I have a chance, I'm going to try with my older UniformGrid branch that used the traditional/reference implementation and see how it behaves there. It might help point to where the issue is. |
Beta Was this translation helpful? Give feedback.
-
I tried to replicate the bug without success, I'm thinking it may have been fixed. Could someone check to confirm? |
Beta Was this translation helpful? Give feedback.
-
@michael-hawker can you still replicate it? |
Beta Was this translation helpful? Give feedback.
-
@lucaasrojas, Yup I can still repro. Once you change to the UniformGrid, use the GridSplitter to change the view size, and you should see it jump at certain points from being the right size to a different size. |
Beta Was this translation helpful? Give feedback.
-
@michael-hawker I tried it again and I could reproduce the problem. Is this what you see? |
Beta Was this translation helpful? Give feedback.
-
This issue seems inactive. Do you need help to complete this issue? |
Beta Was this translation helpful? Give feedback.
-
This issue seems inactive. Do you need help to complete this issue? |
Beta Was this translation helpful? Give feedback.
-
This issue seems inactive. It will automatically be closed in 14 days if there is no activity. |
Beta Was this translation helpful? Give feedback.
-
I'm submitting a...
Current behavior
If you have a LayoutTransformControl like so:
You get one result:
But when
Grid
is a UniformGrid instead, you get a different result:Expected behavior
As per WPF, these should result in the same behavior.
Minimal reproduction of the problem with instructions
Use provided XAML in sample app for LayoutTransformControl.
Other Info
I have confirmed this behavior was there before change #2149 as well, so that change did not introduce this behavior.
I'm not sure if this is an issue with the UniformGrid or the LayoutTransformControl or the interaction between their two layout algorithms. Since it does work with
Grid
andUniformGrid
does inherit now from Grid it is a bit odd, so leads me to believe it may be the former.Environment
Beta Was this translation helpful? Give feedback.
All reactions