From 2bd43ca27a822e35dfa1e45a5c3e3cda2d8fb4ae Mon Sep 17 00:00:00 2001 From: Martin Ball Date: Fri, 20 Nov 2026 15:32:04 +0000 Subject: [PATCH] ui-shell: start screen takes picture shape, card width and page pictures; tile frames its picture Part of storytold/wordcraft#7149, item 2 and item 3. StartScreen gets picture_aspect, card_width and page_pictures (white paper, no transparency grid, icon without a sunken tile); RecentList gets picture_aspect. Defaults keep today looks. A card tile now draws its frame over the picture so all four sides show, not only the top and bottom edge of the sunken well. Co-Authored-By: Claude Sonnet 5.5 --- crates/ui-shell/src/shell/recent_list.rs | 19 +++-- crates/ui-shell/src/shell/start.rs | 100 +++++++++++++++++++---- crates/ui-shell/tests/it/shell/start.rs | 26 +++++- crates/ui-widgets/src/tile_grid/tile.rs | 6 ++ 4 files changed, 129 insertions(+), 22 deletions(-) diff --git a/crates/ui-shell/src/shell/recent_list.rs b/crates/ui-shell/src/shell/recent_list.rs index 9cde64703..4f83ad956 100644 --- a/crates/ui-shell/src/shell/recent_list.rs +++ b/crates/ui-shell/src/shell/recent_list.rs @@ -37,12 +37,13 @@ pub struct RecentList<'a> { empty: Option