Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

fix(mobile): centre page titles on the back chevron; "N more" engine row without the stray ellipsis

bubu-dududfc371355b3f
diff --git a/mobile/lib/phone/new_agent_page.dart b/mobile/lib/phone/new_agent_page.dart
index 4335cedb4..3687aa8e7 100644
--- a/mobile/lib/phone/new_agent_page.dart
+++ b/mobile/lib/phone/new_agent_page.dart
@@ -596,8 +596,7 @@ class _NewAgentPageState extends State<NewAgentPage> {
// nothing to fold back to that the person would want.
if (!_moreEnginesOpen && _hiddenEngineCount > 0)
SettingsRow(
- title: '…',
- detail: '$_hiddenEngineCount more',
+ title: '$_hiddenEngineCount more',
leading: Icon(
LucideIcons.ellipsis300,
size: 18,
diff --git a/mobile/lib/phone/phone_header.dart b/mobile/lib/phone/phone_header.dart
index 86cd2d983..d667c511f 100644
--- a/mobile/lib/phone/phone_header.dart
+++ b/mobile/lib/phone/phone_header.dart
@@ -65,10 +65,19 @@ class PhoneHeader extends StatelessWidget {
],
if (leading != null) ...[leading!, const SizedBox(width: 10)],
Expanded(
- child: _Titles(
- title: title,
- subtitle: subtitle,
- large: large,
+ // ⚠️ Nudged down beside the back chevron. The title's line box reserves room
+ // under the baseline for descenders, so a centred box puts the LETTERS above
+ // the chevron's middle — visibly riding high on every page with a back button.
+ // Painted offset rather than padding, so the header's height does not change.
+ child: Transform.translate(
+ // 3.5, measured: at 1.5 the capitals still sat ~2pt above the chevron's
+ // centre on a Pixel 8 Pro.
+ offset: Offset(0, canPop && subtitle == null ? 3.5 : 0),
+ child: _Titles(
+ title: title,
+ subtitle: subtitle,
+ large: large,
+ ),
),
),
],