Add WinUI layout skill#93
Conversation
|
@microsoft-github-policy-service agree |
|
|
||
| ### 5. Integrate the title bar | ||
|
|
||
| Use the platform title bar model unless there is a specific reason to customize it. |
There was a problem hiding this comment.
Platform == win32 titlebar?
int he new templates we are moving towards the WinUI TitleBar control, I'd suggest we recommend
There was a problem hiding this comment.
Yes,the platform == titlebar in winui3.
| @@ -0,0 +1,116 @@ | |||
| --- | |||
| name: winui-layout | |||
There was a problem hiding this comment.
I wonder if this should be part of the design skill vs creating a new one? @nmetulev what are best practices for something like this?
There was a problem hiding this comment.
It's a design standard from https://learn.microsoft.com/zh-cn/windows/apps/design/basics/content-basics
|
|
||
| - 8 epx: closely related controls or a button and flyout. | ||
| - 12 epx: control-to-label or compact content-region spacing. | ||
| - 16 epx: text inside a surface edge, or a control next to an expander action. | ||
| - 48 epx: nested expander content indentation. | ||
| - 56 epx: large media or highly cohesive content margins, not dense tools. |
There was a problem hiding this comment.
this is already in the design skill?
There was a problem hiding this comment.
Yes,but i think it's better to create a new skill.
## Summary
winui-layoutskill for WinUI page layout and responsive design guidance.winui-designtowinui-layoutand update README, changelog, issue template, and PR review wording.Validation
quick_validate.pyfrontmatter/name/description checks forplugins\winui\skills\winui-layout: passed.plugins\winui\skills\**\SKILL.md: passed.git diff --check origin/staging..HEAD: passed.eight skills,8 shipped skills,8 existing ones, andwinui-layout-design: no matches.plugins/winui/plugin.json,.github/plugin/marketplace.json, and.claude-plugin/marketplace.json: no changes.Notes
scripts/build-tools.ps1was not run.