Skip to content

[FR]: Reduce Side Panel Minimum Width #673

@chingweih

Description

@chingweih

Description

Reduce side panel minimum width so that extensions like "Vertical Tabs" can be more useful on laptop screens.

Who's implementing?

  • I'm willing to implement this feature myself

The problem

I use many extensions that rely on chrome's Side Panel API, including this one called Vertical Tabs. However, the default minimum width of the side panel is fixed at 360px, which takes up almost 1/3 of the screen on smaller laptop displays, which is not ideal for the use case.

There is a ongoing discussion in the main Chromium repo about this behavior since 2024 but hasn't been implemented yet. I feel like Helium's tighter UI design is suitable for this patch.

Possible solutions

Change constant kSidePanelDefaultContentWidth in source code chrome/browser/ui/views/side_panel/side_panel_entry.h from 360 to a lower value (e.g. 260)

Additional context

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    approvedMaintainers agree that this makes sensependingUntriaged; maintainers have not discussed this yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions