Repository navigation
Normalize bar icon size and alignment - #15065
Merged
Merged
Conversation
Contributor
|
5 tasks
This was referenced Oct 13, 2026
diogochaves
added a commit
to diogochaves/omabox
that referenced
this pull request
Oct 14, 2026
Omarchy after 4.0.4 (omacom/omarchy#15065) fits everything a bar widget's iconComponent paints to one icon size. The count sat in a Row with the mark there, so with two or more boxes both were scaled: the mark fell from 12 px to about 7x8. Only the mark paints in the icon now, beside an empty spacer that keeps 4.0.4's centring; the count is drawn on the button at the mark's painted edge, from the shell's componentPaintedWidth where icons are fitted. On 4.0.4 the count lands on the same pixels and the mark no longer moves up a pixel when it shows. t_widget_mark measures the widget's ink at 1, 2, 3 and 12 boxes, on OMABOX_TEST_OMARCHY's tree when set; the Omarchy contract checks that a fitting shell has componentPaintedWidth. Finding 301. Refs #219 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 22, 2026
20 of 34 tasks
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
WidgetButtoncontent, including 15px source icons.shell.toml.Before and after
The comparison uses enlarged grayscale crops to show icon size and alignment.
Verification
bash test/shell.d/bar-icon-geometry-test.shpasses.bash test/shell.d/bar-widget-contract-test.shpasses.bash test/shell.d/bar-test.shpasses.git diff --checkpasses.The geometry test covers custom glyphs, nested components, images, rotation, dynamic source dimensions, font scale, and the battery percentage.