From a80a5b8edd2fc2958252c127ee378112f219841f Mon Sep 17 00:00:00 2001
From: Ariver <shanghai3168@gmail.com>
Date: Sat, 13 Jun 2026 19:32:08 +0800
Subject: [PATCH] Move usage tip dots below controls
---
src/Scripts/usage_tips_qa.sh | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/src/Scripts/usage_tips_qa.sh b/src/Scripts/usage_tips_qa.sh
index ac03213..78834f8 100755
--- a/src/Scripts/usage_tips_qa.sh
+++ b/src/Scripts/usage_tips_qa.sh
@@ -130,6 +130,16 @@
"Usage tips layout must allocate text from actual available AppGrid width",
)
require(
+ r"dotsView\.frame\s*=\s*NSRect\s*\((?P<body>.*?)x\s*:\s*buttonsGroupMinX\s*\+\s*\(buttonsWidth\s*-\s*dotsWidth\)\s*/\s*2(?P<body2>.*?)y\s*:\s*previousButton\.frame\.maxY\s*\+\s*6",
+ app_grid,
+ "Usage tips page dots must sit centered below the previous/next arrow buttons",
+)
+require(
+ r"detailRight\s*=\s*previousButton\.frame\.minX\s*-\s*detailControlsGap",
+ app_grid,
+ "Usage tips detail text must stop before the arrow controls when dots move below them",
+)
+require(
r"return\s+min\s*\(\s*maxAvailableWidth\s*,\s*preferredWidth\s*\)",
app_grid,
"Usage tips preferred width must expand up to available AppGrid width for long localizations",
--
Gitblit v1.9.3