Repository navigation
v1.0.1 - the factor badges center their numbers
A one-fix release on top of 1.0.0.
Fixed
A factor badge drew its number against its left border. The badge states a width — 24, which is what makes the CookBook card's slot columns line up and stops a two-character count drawing a wider box than a one-character one. Its inner text stated no alignment, and an unaligned run is stretched across the whole box and drawn at the left of it. So every number in the Recipe hero's factor strip sat against its own left border with about fifteen pixels of empty ground beside it, and the × between two badges stood 6px from the digit after it and 16px from the digit before it — in a strip whose two gaps are declared equal.
Only one of the two screens was affected: the CookBook card's template had been carrying the centering inline since the width was stated, so it was right the whole time. The alignment is stated once now, in the shared style, rather than once per template.
FactorChipInkTests measures the ink off a rendered frame rather than reading the setters back, and was probed by removing them — both screens then fail, the digit landing at 2.5 and 3.0 of a 20px box whose center is 10.
Downloads
| Archive | For |
|---|---|
single-file-net10 |
Start here if you have the .NET 10 runtime — one .exe, 14 MB |
single-file |
One .exe, no runtime needed |
framework-dependent |
A folder, needs the .NET 10 runtime |
portable |
A folder, no runtime needed |