Repository navigation
iOS: the top bar's words sit in the middle of their pill again - #2204
Merged
Merged
Conversation
#2201 put the strip's words on Apple's line, 27 pt above row 1, but Apple's pill reaches 11 pt up into the band iOS draws over a third-party keyboard and Hex's can't, so the words sat high in a 27 pt pill with a big empty band above it (Ryan, from his iPhone). The band stays in non-Apple apps too, and a taller keyboard only raises it, so the words, dividers and Hex mark now centre in the strip: each word in the middle of its pill as Apple's, 5.5 pt below Apple's line. Keeps #2201's full-height pill and #2202's shared line for the mark, which is back to 19 pt. Verified in the iOS 27.2 simulator (iPhone 17 Pro, a third-party host app): 'Help' centred in its pill, the Hex mark on the words' line (bubble-compare.png at hex-kb.i.vogel.dev).
R44VC0RP
added a commit
that referenced
this pull request
Nov 21, 2026
Centred in the strip (#2204), the words sat 5.5 pt below Apple's line with more room above than below them, and the slot-wide pill, cut short by the band iOS draws over a third-party keyboard, read as squashed (Ryan, from his iPhone). Apple's words sit midway between the panel's edge and row 1's keycaps, so Hex's now do too (26 pt above row 1, 9 pt below the band), and everything in the bar centres on that line, evenly above and below it: - an autocorrection, a pressed word and a revert get a small chip around the word, 18 pt tall (Ryan's pick of four marks, rendered side by side), replacing the slot-wide pill; - the dividers are as tall as the chip and stay beside it (not beside a revert); - the Hex mark and its pressed chip sit on the same line. Elsewhere (landscape, the Duo) the line is the strip's middle and the chip the pill height. Verified in the iOS 27.2 simulator (iPhone 17 Pro, a third-party host app): words 20-32 pt below the panel's edge (Apple's 19-31.7), the chip and mark centred on them (chip-balanced.png at hex-kb.i.vogel.dev).
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.
After #2201 the words sat on Apple's line but high inside the pill, because iOS's band above a third-party keyboard (present in non-Apple apps too, and moving up with a taller keyboard) cuts off the top of Apple's pill. Words, dividers and the Hex mark now centre in the 27 pt strip, each word in the middle of its pill. Verified in the iOS 27.2 simulator.