Skip to content

Feature request: per-button width override (or auto-width) instead of global buttonWidth #2

Description

@christosagapiou

Thanks for this mod — it's exactly the kind of compact folder-popup-menu functionality that's been missing from Windows 11 since the classic taskbar Toolbars feature was removed.

The issue:

Currently buttonWidth is a single global setting applied to every entry under folders:. This works fine when all buttons have similarly-sized labels, but breaks down when mixing labeled buttons with short/icon-only buttons (e.g. an emoji used as a compact icon label). All buttons end up forced to the same width, so a short label like 🖥 gets padded out with empty space to match a longer label like "Diskstation," and there's no way to make it render compact.

What I'd like:

One of the following (either would solve it):

Per-folder width override — allow an optional width: key on individual entries under folders:, falling back to the global buttonWidth when not specified:
yaml
folders:
- label: Diskstation
target: C:\path\to\Diskstation
width: 90
- label: 🖥
target: C:\path\to\Remote Connections
width: 40
Auto-width option — support buttonWidth: 0 (or auto) to size each button to fit its label/icon content plus configurable padding, similar to how the width behaves in your screenshot example on the mod page itself.

Example config for context:

yaml
folders:

  • label: Internal
    target: ...
  • label: Diskstation
    target: ...
  • label: Customers
    target: ...
  • label: 🖥
    target: ...
    buttonWidth: 80
    buttonHeight: 40
    buttonSpacing: 10

With a mix like this, the icon-only entry ends up visually oversized relative to its content, while the text entries stay comfortably sized as-is.

Happy to test a preview build if this is something you're open to adding.
Thanks again for the great mod!

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions