mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-26 00:57:26 +00:00
FormatText: the size field carries no glyph label, as production, so a narrow pane keeps room for its value
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user