Buttons in Settings › Storage have three different sizes

Open Beginner friendly
#346 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
swift
Domain
design, desktop

Research direction

Start with SetupPackSection.swift, SyncFolderSection.swift, and StorageSettingsSection.swift, where the issue names the buttons with inconsistent sizes or styling. Read docs/conventions.md and check the existing Settings rows that use .small; then review SettingsDetail, WallpaperThumbnailChooser, and NativeWallpaperSourceControl for the noted defaults. Done when the Settings row buttons share a consistent height and panel appearance.

Written by the indexing model from the issue text.

Description

area: settings bug Haiku review: no-score ui
Area

Settings

Wallpaper

Any

What you did

Open Settings › Storage.

What went wrong

The row buttons come in three sizes and two looks:

  • Scan library…, Pull & Review… and the backup Export… are 20 pt (.panelPrimary(size: .small)).
  • Setup Pack Export… and Import…, Choose folder… and Push now are 28 pt. They use .panelSecondary, which defaults to .regular.
  • Choose backup… has no panel style, so it's a system button that ignores the panel's colours.

You see it most where Push now (28 pt) sits next to Pull & Review… (20 pt). StorageSettingsSection sets .controlSize(.small) with the comment "Row buttons and switches share one size across Settings", and docs/conventions.md says a .panelSecondary beside a .panelPrimary uses the same size. Most other Settings rows already use .small.

Suggested fix: Use .panelSecondary(size: .small) in SetupPackSection.swift (Export…, Import…) and SyncFolderSection.swift (Choose folder…, Clear, Push now), and give Choose backup… (StorageSettingsSection.swift) the same style. SettingsDetail, WallpaperThumbnailChooser and NativeWallpaperSourceControl also use the default size and may need the same change.

What you expected

All row buttons in Settings are the same height.

Diagnostics report
screenshot
Details from the app

No response

App version

1.18.0 (71) (macOS 27.2.1)

Dominant language
Swift
Stars
1.3k
Forks
41
Avg merge
4h 46m
Merged PRs (30d)
86

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MMFoundation/WallpaperMachine

All issues in MMFoundation/WallpaperMachine

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.