Grid with Margin="1" causes InvalidOperationException
elw00d opened this issue · 1 comments
elw00d commented
This assert fires:
Size desiredSize = MeasureOverride(frameworkAvailableSize);
if (desiredSize.Width == int.MaxValue || desiredSize.Height == int.MaxValue) {
throw new InvalidOperationException("MeasureOverride should not return int.MaxValue even for" +
"availableSize = {int.MaxValue, int.MaxValue} argument.");
}
need to fix measuring in Grid
elw00d commented
Wrong commit, reverted