We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f65433 commit 662a573Copy full SHA for 662a573
Intersect.Client.Framework/Gwen/Control/Layout/Table.cs
@@ -736,7 +736,7 @@ protected virtual Point ComputeColumnWidths(TableRow[]? rows = null)
736
}
737
738
var flexColumnWidths = columnWidthRatios.Select(
739
- ratio => float.IsNaN(ratio) ? 0 : (int)MathF.Ceiling(Math.Max(10f / ratio, availableWidth * ratio))
+ ratio => float.IsNaN(ratio) || ratio.Equals(0) ? 0 : (int)MathF.Ceiling(Math.Max(10f / ratio, availableWidth * ratio))
740
)
741
.ToArray();
742
0 commit comments