Skip to content

Fix columns#169

Merged
ErikEJ merged 1 commit intomainfrom
fix-cols
Mar 3, 2026
Merged

Fix columns#169
ErikEJ merged 1 commit intomainfrom
fix-cols

Conversation

@ErikEJ
Copy link
Owner

@ErikEJ ErikEJ commented Mar 3, 2026

No description provided.

Copilot AI review requested due to automatic review settings March 3, 2026 08:57
@ErikEJ ErikEJ merged commit ba202b1 into main Mar 3, 2026
2 checks passed
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adjusts the Schema Compare tool window grid column sizing to improve readability and layout.

Changes:

  • Swapped sizing behavior between the Type and Action columns.
  • Increased fixed widths for Source and Target columns.

Comment on lines +48 to +52
<DataGridTextColumn Header="Type" Binding="{Binding ObjectType}" Width="*" MinWidth="80" />
<DataGridTextColumn Header="Action" Binding="{Binding UpdateAction}" Width="80" />
<DataGridTextColumn Header="Difference" Binding="{Binding DifferenceType}" Width="80" />
<DataGridTextColumn Header="Source" Binding="{Binding SourceObjectName}" Width="80" />
<DataGridTextColumn Header="Target" Binding="{Binding TargetObjectName}" Width="80" />
<DataGridTextColumn Header="Source" Binding="{Binding SourceObjectName}" Width="100" />
<DataGridTextColumn Header="Target" Binding="{Binding TargetObjectName}" Width="100" />
Copy link

Copilot AI Mar 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These hard-coded column width values (80/100/*) are effectively magic numbers and are now being adjusted in multiple places. Consider moving the widths into XAML resources (e.g., x:Double resources) or a shared style so future layout tweaks stay consistent and require fewer edits.

Copilot uses AI. Check for mistakes.
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