Skip to content

Gaps around default title bar buttons in normal and maximized states #10863

@Zakariathr22

Description

@Zakariathr22

Describe the bug

There is a small spacing issue with the default title bar buttons. In the normal window state, there’s a gap at the bottom. When the window is maximized, there are additional gaps on the right and bottom sides of the title bar area.

Steps to reproduce the bug

  1. Create a new Window using the default title bar.
  2. Run the app and observe the title bar buttons in normal state (a small gap appears at the bottom).
  3. Maximize the window (gaps appear on the right and bottom sides).

Expected behavior

The title bar buttons should be perfectly aligned with no visible gaps in any window state.

Screenshots

Image Image

NuGet package version

Windows App SDK 1.8.2: 1.8.251003001

Packaging type

Packaged (MSIX)

Windows version

Windows 11 version 24H2 LTSC (26100, June Update)

IDE

Visual Studio 2022

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions