mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-28 01:11:23 +01:00
CardText::Preset sets the name in the body type again, its role before this branch, and CardText::PresetStrong is the centred preset card the strong body type sets. The New Document dialog asks for it only in the new PresetCardLook::OutlineStrong, which paints the outline look's page and card; PresetCardLook::Page keeps Tile::page on CardText::Page. A story shows the look. Trials: a_preset_cards_name_is_strong_only_when_the_card_asks_for_it (ui-widgets: with the suite's fonts loaded, the preset card's name measures narrower than the strong preset name, which measures as wide as a file card's), preset_names_are_strong_only_in_the_strong_look (ui-patterns: the dialog with no look set paints the same name width as PresetCardLook::Outline, and OutlineStrong paints it wider).