Skip to content

Conversation

@w-ahmad
Copy link
Owner

@w-ahmad w-ahmad commented Nov 24, 2025

PR Summary

This pull request refactors the TableView and TableViewCell styles to make sure compact sizing feature works out of the box.

  • TableView.xaml: Added RowMinHeight setter to use ListViewItemMinHeight theme resource.
  • TableViewCell.xaml: Removed unnecessary Margin from RootBorder in TableViewCell, potentially affecting cell height.
  • Resources.xaml: Removed unused TableViewRowMinHeight theme resource.

Usage Example

<Page.Resources>
    <ResourceDictionary Source="ms-appx:///Microsoft.UI.Xaml/DensityStyles/Compact.xaml" />
</Page.Resources>
image

@w-ahmad w-ahmad merged commit 9bd81e1 into main Nov 27, 2025
1 check passed
@w-ahmad w-ahmad deleted the feat/compact_sizing branch November 27, 2025 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants