Repository navigation
Fix maximized title bar - #5275
kukirin-ui wants to merge 2 commits into
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
No actionable comments were generated in the recent review. Summary
Merge Risk:
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a808052af6
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| <Style TargetType="Window"> | ||
| <Style.Triggers> | ||
| <Trigger Property="WindowState" Value="Maximized"> | ||
| <Setter Property="BorderThickness" Value="{x:Static SystemParameters.WindowResizeBorderThickness}"/> |
There was a problem hiding this comment.
Inset content for the padded maximized frame
On Windows 10/11, maximizing this WindowChrome window places the HWND past the work area by both the resize frame and the DWM padded border. This single WindowResizeBorderThickness inset only compensates for the first component, so WPFMainGrid—including the title bar and caption buttons—remains clipped by the padded-border width. Add a corresponding maximized-state inset to the content grid, and verify the maximized path manually because the added Pester test only checks that this setter exists.
AGENTS.md reference: AGENTS.md:L117-L117
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Good point. I can only test on a phone right now, so I can't verify the padded-border case on Windows 10/11. If a maintainer can maximize the window and confirm whether the caption buttons are still clipped, I'll add the extra inset to the content grid.
Description
Issue related to PR
PR human checks