FormatText: the size field carries no glyph label, as production, so a narrow pane keeps room for its value

This commit is contained in:
Dylan M. Taylor
2026-11-22 17:24:58 -05:00
parent 09d4ef7062
commit 35a14126a5
+2 -1
View File
@@ -339,7 +339,8 @@ impl<'a> FormatText<'a> {
Row::new().gap(Gap::Tight).show(ui, |ui, _| {
let size = LengthRow {
label: cw.size.clone(),
side: mark(GlyphLabel::text("tT"), None, FieldLayout::Inside),
// Production's size field carries no glyph: the room goes to its value ("Mixed", "14 pt").
side: SideLabel::new().kind(LabelKind::Hidden).layout(FieldLayout::Beside),
value: character.size,
range: size_range.clone(),
presets: &size_presets,