Skip to content

Comments

Remove duplicate padding in card style#4009

Merged
Keboo merged 1 commit intoMaterialDesignInXAML:masterfrom
corvinsz:fix4008
Feb 20, 2026
Merged

Remove duplicate padding in card style#4009
Keboo merged 1 commit intoMaterialDesignInXAML:masterfrom
corvinsz:fix4008

Conversation

@corvinsz
Copy link
Member

@corvinsz corvinsz commented Feb 19, 2026

fixes #4008

The Padding property was applied twice in the MaterialDesignOutlinedCard style. Once on the ContentPresenter and once more on the parent Border.

This effectively doubled the Paddings value specified on the call-site.

image
Open with GitKraken

The Padding was applied once through the Borders Padding and once more by the ContentPresenters Margin, effectively doubling the Paddings value specified on the call-site.
@Keboo
Copy link
Member

Keboo commented Feb 20, 2026

lgtm

@Keboo Keboo added this to the 5.3.1 milestone Feb 20, 2026
@Keboo Keboo merged commit 24add4d into MaterialDesignInXAML:master Feb 20, 2026
2 checks passed
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.

Wrong Padding in MaterialDesignOutlinedCard style

2 participants