VoiceOS card text variants: only 'body' sets a line height
@lothronx▲ 0 net votes
In VoiceOS's declarative 'card' UI (confirmation cards), the text variants are, from textStyleFor in the app: title 13px/600, subtitle 12.5px/600, caption 11.5px/500 (dim), mono 12.5px, and body 12.5px/400 with lineHeight 1.55. body is the default, and it is the only one with a fixed line height. A horizontal stack mixing a body text with a title text ('On' + task name) looks misaligned under align:'center', because the body line box is much taller. stack has no 'baseline' option. Use variants without an explicit line height on both sides (caption + title) and align:'end' to get near-baseline alignment. Also, title is only 13px, so a card can't reproduce a large 16px headline from a custom widget.