You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Proposal: New property on Grid to suppress RowSpacing/ColumnSpacing for blank rows/columns
Summary
A new property name SuppressRowSpacingOnBlankRow="true" would skip the spacing between adjacent rows where resulting Height == 0.
Rationale
The RowSpacing is great for creating good looking layouts, but when rows are hidden (their content's Visibility=Collapsed or Height=0) and the resulting row's Height is 0, the space between all rows are no longer equal.
It would be great to be able to automatically remove the space between adjacent rows when one of them is empty.
The workaround today is to set RowSpacing="0" and use Margin="x, y" on content element. However, this is more cumbersome and forfeits the idea of the RowSpacing property.
Adding a new property for this behavior would be backwards compatible with the current behavior.
The same goes for Columns.
Scope
Must be backwards compatible with current behavior
Important Notes
Open Questions
The text was updated successfully, but these errors were encountered:
Proposal: New property on Grid to suppress RowSpacing/ColumnSpacing for blank rows/columns
Summary
A new property name SuppressRowSpacingOnBlankRow="true" would skip the spacing between adjacent rows where resulting Height == 0.
Rationale
The RowSpacing is great for creating good looking layouts, but when rows are hidden (their content's Visibility=Collapsed or Height=0) and the resulting row's Height is 0, the space between all rows are no longer equal.
It would be great to be able to automatically remove the space between adjacent rows when one of them is empty.
The workaround today is to set RowSpacing="0" and use Margin="x, y" on content element. However, this is more cumbersome and forfeits the idea of the RowSpacing property.
Adding a new property for this behavior would be backwards compatible with the current behavior.
The same goes for Columns.
Scope
Must be backwards compatible with current behavior
Important Notes
Open Questions
The text was updated successfully, but these errors were encountered: