Skip to content

Proposal: Compact Mode for TabView #10638

@cricketthomas

Description

@cricketthomas

Proposal: Compact Mode for TabView

Summary

Introduce a CompactMode property to the TabView control in WinUI, enabling a more space-efficient layout by reducing tab padding, hiding close buttons, and optionally collapsing tab headers into icons or tooltips.

Rationale

  • Improves usability in applications with limited screen real estate (e.g., side panels, tool windows).
  • Aligns with modern UI trends favoring minimalism and adaptive layouts.
  • Provides parity with other tabbed interfaces (e.g., Visual Studio, Edge) that offer compact or icon-only tab modes.
  • Enhances developer flexibility in customizing the user experience.

Scope

Capability Priority
Developers can enable a compact layout via a TabView.CompactMode property Must
Compact mode reduces tab header padding and optionally hides close buttons Must

Important Notes

Visual Studio 2022 Preview shows an elegant and efficient use of compact fluent v2 styles and allowing developers easy access to replicate the best MDI IDE would be awesome.
Image

Usage Example (XAML):

<TabView CompactMode="Compact">
    <TabViewItem IconSource="Home" ToolTipService.ToolTip="Home" />
    <TabViewItem IconSource="Settings" ToolTipService.ToolTip="Settings" />
</TabView>

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