Skip to content

[UI Bug][macOS] Sidebar toggle is vertically misaligned with window controls #125

Description

@Simon-xi658

GUI version

0.1.41

Operating system

macOS (Apple silicon)

Reproduction steps

  1. Open Command Code Desktop on macOS.
  2. Expand the left sidebar.
  3. Compare the vertical position of the sidebar toggle icon with the three window controls next to it.

Environment: macOS 27.0 (build 26A428), Apple silicon (arm64).

Expected behavior

The sidebar toggle icon and the window controls should appear vertically centered along the same horizontal line.

Please preserve the existing icon size and horizontal spacing; this feedback concerns only the vertical alignment.

Suggested adjustment: Please check the vertical positioning of the sidebar toggle’s container and icon, including any top padding or offset. Align its visual center with the center of the macOS window controls.

Actual behavior

The sidebar toggle button in the top-left corner appears slightly higher than the macOS window controls (close, minimize, and maximize).

The toggle icon appears aligned with the top edges of the window controls rather than their vertical centers. This makes the title bar controls look visually uneven.

The sidebar toggle icon sits slightly above the horizontal centerline of the window controls, as shown in the attached screenshot.

Impact: This is a visual alignment issue. It makes the title bar appear less consistent and polished; no functional problem is being reported.

Screenshots, recordings, or sanitized logs

The red rectangle highlights the affected controls.

Image

Safety check

  • I removed credentials and private project information from this report.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions