Skip to content

fix: align workspace height and expose vertical padding - #60

Merged
M4n0x merged 3 commits into
mainfrom
t3/fix-workspace-widget-height
Oct 17, 2026
Merged

M4n0x merged 3 commits into
mainfrom
t3/fix-workspace-widget-height

Conversation

@M4n0x

@M4n0x M4n0x commented Oct 17, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

Workspace cells forced a 22 pt height, making the widget taller or shorter than neighbouring widgets as fonts changed. The selection background also excluded the widget's vertical padding.

Changes

  • Size cells to their labels and icons, and include vertical widget padding in each selection and click target.
  • Preserve configured cell and tile heights, custom layouts and cell-relative underlines.
  • Expose the existing per-widget vertical padding setting in Customize, including source and reset controls.
  • Document sizing and add native layout and pixel checks at 12 pt and 24 pt.
  • Avoid a timing race in the command timeout test by recording its process group before termination.

Testing

  • All 290 Swift tests pass, including matching widget heights, selection fill, explicit heights, underlines, scrolling and display scaling.
  • Before/after rendering: workspace height changes from 34 to 27 pt at a 12 pt font, and from 34 to 40 pt at 24 pt, matching text and clock widgets.
  • ./scripts/build.sh release build passes; isolated live AeroSpace preview launched.
  • Live UI check: workspace padding changes independently from 6 to 7 pt, Reset restores inheritance, and the clean preview remains at 6 pt.
  • npx commitlint --from origin/main --to HEAD --verbose passes.

Before/after screenshots

before · 12pt

before-12pt

after · 12pt

after-12pt

before · 24pt

before-24pt

after · 24pt

after-24pt

Customize padding control

Workspace inspector before and after

Before

Workspace editor before vertical padding control

After

Workspace editor with vertical padding control

Merging

Merge commit or rebase merge so the fix: commits reach the release history.

GPT-6.1 (gpt-6.1-sol) via the Codex harness in T3 Code.

@M4n0x
M4n0x requested a review from Seb-GRAF as a code owner October 17, 2026 16:01
@M4n0x M4n0x changed the title fix: size workspace widgets to their content fix: align workspace height and expose vertical padding Oct 17, 2026
@M4n0x
M4n0x merged commit 88198ca into main Oct 17, 2026
4 checks passed
@M4n0x
M4n0x deleted the t3/fix-workspace-widget-height branch October 17, 2026 16:43
stablebar-releases Bot pushed a commit that referenced this pull request Oct 21, 2026
## [0.5.0](v0.4.0...v0.5.0) (2026-10-21)

### Features

* add a calendar provider for the next meeting and today's agenda ([451c30a](451c30a))
* add a states map to every style ([a4ae6f2](a4ae6f2))
* add an equalizer block that bounces while its source is on ([#141](#141)) ([8e855ee](8e855ee))
* add an open state for the widget whose popup shows ([8eb69f4](8eb69f4))
* add Menu Bar, Island, Minimal and Terminal themes that restyle the whole bar ([570ab73](570ab73))
* add rules that set data states from provider values and fields ([7c9c70e](7c9c70e))
* add Tonhalle Line theme and presentation examples ([74449e5](74449e5))
* add widget packages that run no commands ([63efa16](63efa16))
* animate changed text and symbols with transitions ([9379e1a](9379e1a))
* animate the active app widget to fit the app's name ([0a00e3f](0a00e3f))
* ask before enabling an update that adds commands, hosts or permissions ([b623d76](b623d76))
* browse and install packages from the store ([b739dfc](b739dfc))
* check for and install updates in the app, on a stable or beta track ([f852a25](f852a25))
* customize StableBar without editing the configuration file ([#103](#103)) ([915e46b](915e46b))
* draw widgets, popups and the bar with Liquid Glass ([7f2310f](7f2310f))
* edit every property the bundled themes set in Customize ([d1fe47c](d1fe47c))
* fade or roll widgets in and out when their output hides them ([664d856](664d856))
* give clock layouts the time and show every widget's text in Diagnostics ([8dde579](8dde579))
* give colors light and dark values and ship the built-in look and three themes ([5d7c90c](5d7c90c))
* give each screen setup its own bar ([d71a203](d71a203))
* keep notification banners clear of the bar ([56872dc](56872dc))
* keep one Customize item in the bar's menus and move their other actions to General ([2484317](2484317))
* keep package secrets in the Keychain ([bc29768](bc29768))
* keep windows clear of the bar with Accessibility ([d18f156](d18f156))
* let script and provider output set a data state ([0581fa0](0581fa0))
* list the permissions that enabled data sources need in setup ([8e21d1d](8e21d1d))
* merge profiles by name across configuration layers ([7f0f2ed](7f0f2ed))
* offer presets in setup instead of choosing widget sets ([6473009](6473009))
* offer sets of built-in widgets in setup ([be2d9fc](be2d9fc))
* open popups on hover and add themed tooltips ([0ba0814](0ba0814))
* open URLs and apps from widgets without a shell ([8338ff9](8338ff9))
* organize Customize around the bar's look and show where each style comes from ([be1ca77](be1ca77))
* pick a theme from installed theme packages ([b600218](b600218))
* preview widget sets live on cards and place them beside the app and clock ([fc1a3ff](fc1a3ff))
* register data source types in one table and show each widget's source in Diagnostics ([45b9f3a](45b9f3a))
* remove a saved package secret from the Packages tab ([ac51e7c](ac51e7c))
* replace bundled themes with the community collection ([04b0077](04b0077))
* send power source changes to subscribed scripts ([054d9ae](054d9ae))
* set the bar's background in Customize ([bff824e](bff824e))
* share theme presentation across widgets and bar layout ([7db7ffe](7db7ffe))
* ship a sketchybar-app-font glyph set and match app name prefixes ([b23a4b0](b23a4b0))
* show and focus individual workspace windows ([85dc0a8](85dc0a8))
* show skipped releases in a compact update popup ([5319a29](5319a29))
* show temporary output for a set time ([38eb9f9](38eb9f9))
* show the app version in an About tab ([a0d94fc](a0d94fc))
* show the frontmost app's menus in an app menu widget ([45400f8](45400f8))
* show what a package needs in its review ([1740483](1740483))
* simplify configuration and onboarding ([03d527b](03d527b))
* uninstall installed package versions ([67e641f](67e641f))
* uninstall installed package versions ([#44](#44)) ([6c49753](6c49753))
* update audio widgets and scripts as soon as the volume or output device changes ([05a0e62](05a0e62))
* update battery widgets when macOS reports a power change ([1245d3b](1245d3b))

### Bug Fixes

* accept uppercase URL schemes and say widgets packages contain no commands ([90e95a5](90e95a5))
* align workspace height and expose vertical padding ([#60](#60)) ([88198ca](88198ca))
* allow calendar access in Developer ID releases ([1104e93](1104e93))
* allow negative workspace underline offsets ([a172616](a172616))
* allow package secrets only in the environments of a package's own widgets and providers ([6f7e5b9](6f7e5b9))
* check for the latest release before downloading ([2acbd83](2acbd83))
* check for updates every four minutes ([1362d62](1362d62))
* draw Blueprint's workspace underline on the widget's bottom border ([948b7dc](948b7dc))
* give Blueprint's widgets room in a full-height frame ([077bd53](077bd53))
* give icon-only widgets the height of a line of text ([9a8e8ac](9a8e8ac))
* identify local app builds as development ([83a0b4b](83a0b4b))
* ignore unchanged settings selections ([7ca7324](7ca7324))
* keep a clicked popup open when glass draws behind its widget ([2569727](2569727))
* keep colors that setup and the starter configuration wrote from hiding a theme ([c6de0a8](c6de0a8))
* keep native workspace icons steady on hover ([8b2b543](8b2b543))
* keep new beta releases in order on GitHub ([ae454b6](ae454b6))
* keep notification clearance from freezing the bar ([546c908](546c908))
* keep popup content at full size while opening ([470b7da](470b7da))
* keep the bar running when a package's widget and its popup are removed together ([a46a180](a46a180))
* keep the store's errors and unknown kinds from blocking local packages ([9424aaa](9424aaa))
* keep zoomed windows below the bar ([eb15873](eb15873))
* list commands that packages read from fields in their review ([9a50ddf](9a50ddf))
* make the whole popup block clickable ([d84a9b2](d84a9b2))
* make the whole widget tile clickable ([3f0f3ac](3f0f3ac))
* make the whole widget tile clickable ([#46](#46)) ([2f36fd6](2f36fd6))
* match update icons to the active theme ([e38f7ff](e38f7ff))
* move neighboring widgets when app menus expand ([6263d6f](6263d6f))
* preserve older themes as custom after updates ([a70201e](a70201e))
* recover app menus after temporary read failures ([1a19cea](1a19cea))
* reject contradictory width limits inside states ([026afd4](026afd4))
* render workspace icons at each display resolution ([12c477c](12c477c))
* save only edited package secrets and never lose the saved one ([6a4ff00](6a4ff00))
* show a store package's source and mark installed store entries ([39f00a6](39f00a6))
* show the review of the package selected last ([6d5703c](6d5703c))
* show updates sooner and resize the update popup ([618f575](618f575))
* take removed widgets off the bar while editing it ([#106](#106)) ([594aa34](594aa34))
* tell Settings and in-place bar editing apart in the menus ([39e8156](39e8156)), closes [#131](#131)
* treat an empty data state name as no state ([557d267](557d267))
* use widget hover colors for app menus ([f3b0e7d](f3b0e7d))

### Performance Improvements

* apply only changed script output so repeated updates redraw nothing ([f7e0d0c](f7e0d0c))
* build layout blocks without type erasure and keep the measuring copy still ([e39ac94](e39ac94))
* resolve widget styles in the store so one update redraws only its widgets ([86f8935](86f8935))
@stablebar-releases

Copy link
Copy Markdown

🎉 This PR is included in version 0.5.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant