Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: ChamferedBorder Decorator for WinUI3 #9733

Open
Boltian opened this issue Jun 16, 2024 · 2 comments
Open

Proposal: ChamferedBorder Decorator for WinUI3 #9733

Boltian opened this issue Jun 16, 2024 · 2 comments
Labels
area-UIDesign UI Design, styling feature proposal New feature proposal

Comments

@Boltian
Copy link

Boltian commented Jun 16, 2024

Proposal:

ChamferedBorder Decorator for WinUI3

Summary

Introduce a new ChamferedBorder decorator in WinUI3 that allows developers to create borders with 45-degree chamfered corners.

Rationale

Chamfered corners provide a modern and visually appealing design element, enhancing the aesthetic appeal of applications.
Adding this feature aligns with current design trends and provides developers with more customization options for UI elements.
It simplifies the process for developers to create chamfered corners without needing custom drawing or complex workarounds.
This addition can help standardize the appearance of applications across the WinUI ecosystem, contributing to a consistent and polished user experience.

Scope

| Capability | Priority |
This proposal will allow developers to create borders with 45-degree chamfered corners using a simple decorator.|Must
This proposal will provide customizable corner sizes and border thickness options for developers.|Should
This proposal will allow developers to apply chamfered corners to various UI elements, such as buttons and panels.|Could
This proposal will allow developers to combine chamfered corners with rounded corners in the same decorator.|Could

Important Notes

<Grid>
    <ChamferedBorder BorderBrush="Blue" BorderThickness="2" ChamferLength="10,5,10,5">
        <TextBlock Text="Hello, World!" />
    </ChamferedBorder>
</Grid>

Design Mockup:
Visual representation of chamfered borders on buttons, panels, and other UI elements to illustrate the design enhancement.
Implementation Notes:

ChamferedBorder

The ChamferedBorder should leverage existing WinUI3 styling mechanisms for ease of integration.
Performance considerations should be addressed to ensure the decorator does not negatively impact application responsiveness.

@Boltian Boltian added the feature proposal New feature proposal label Jun 16, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Jun 16, 2024
Copy link

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@karkarl karkarl added area-UIDesign UI Design, styling and removed needs-triage Issue needs to be triaged by the area owners labels Nov 14, 2024
@karkarl
Copy link
Contributor

karkarl commented Nov 14, 2024

This would be a great candidate for experimentation at Community Toolkit! https://github.com/CommunityToolkit/Windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-UIDesign UI Design, styling feature proposal New feature proposal
Projects
None yet
Development

No branches or pull requests

2 participants