From eb3b8fd8df3a86eb5078bbc0be8303153cbfc396 Mon Sep 17 00:00:00 2001 From: vrubelroman Date: Sat, 31 Oct 2026 22:01:11 +0300 Subject: [PATCH] Opponent prep: more room for the period's middle caption Co-Authored-By: Claude Opus 5.5 --- apps/desktop/src/prep_ui.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/desktop/src/prep_ui.rs b/apps/desktop/src/prep_ui.rs index c5a63c5..3dec6a3 100644 --- a/apps/desktop/src/prep_ui.rs +++ b/apps/desktop/src/prep_ui.rs @@ -3134,6 +3134,8 @@ impl PrepScreen { 120.0 } else if width < 900.0 { 150.0 + } else if width < 1100.0 { + 180.0 } else { 240.0 }; @@ -3171,7 +3173,7 @@ impl PrepScreen { ) + pad + 20.0 + 2.0 * gap; - let period_room = ui.available_width() - engine_w - board_w - depth_least - 2.0 * gap; + let period_room = ui.available_width() - engine_w - board_w - depth_least; self.period_picker(ui, settings, period_room, actions); ui.separator(); // The depth's caption by the room left: «Opening: 10 moves», «10 moves», «10 m.».