Skip to content

Prevent Info Pane overlap in narrow windows - #838

Open
raisulchowdhury wants to merge 1 commit into
XcodesOrg:mainfrom
raisulchowdhury:fix/823-main-window-minimum-width
Open

Prevent Info Pane overlap in narrow windows#838
raisulchowdhury wants to merge 1 commit into
XcodesOrg:mainfrom
raisulchowdhury:fix/823-main-window-minimum-width

Conversation

@raisulchowdhury

Copy link
Copy Markdown

Summary

  • centralize the minimum widths used by the main window, sidebar, and Info Pane
  • include the Info Pane's column spacing, horizontal margins, and split-view divider in the window minimum
  • prevent the two Info Pane columns from overlapping when the window is resized narrower

Validation

  • before the change, the window accepted a requested size of 600 × 500 and the Info Pane content overlapped
  • after the change, the same resize request is clamped to 907 × 500
  • xcodebuild test -project Xcodes.xcodeproj -scheme Xcodes -destination 'platform=macOS,arch=arm64' -quiet

Fixes #823.

AI assistance

An AI coding agent helped reproduce the issue and prepare the initial patch. A separate primary-agent review corrected the width calculation to include SwiftUI's column spacing, inspected the final diff, reran the macOS test suite, and verified the window's runtime minimum size.

Copilot AI review requested due to automatic review settings July 29, 2026 22:17

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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.

Window content overflows edges when window is too small

2 participants