Skip to content

settings: stop drill-in arrow from overlapping row text#87

Merged
eggfly merged 1 commit into
masterfrom
fix/settings-arrow-overlap
Jul 1, 2026
Merged

settings: stop drill-in arrow from overlapping row text#87
eggfly merged 1 commit into
masterfrom
fix/settings-arrow-overlap

Conversation

@eggfly

@eggfly eggfly commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • 修复 Settings 二级/三级界面里蓝色下钻箭头压住背后文本的问题(如 "Camera ▶ Resolution"、"Resolution ▶ 1280x720")。
  • 蓝箭头:等比缩小到约 87.5%,留 4px 安全间距,并画到行文本下层(文字永不被盖),按缩放后高度垂直居中。
  • 右列滚动(跑马灯)盒子对称居中到列中心,修「滚动区偏左」。
  • value 界面左标签(如 "Resolution")限宽 + 超长跑马灯,不再顶到箭头/数值列。

Test plan

  • Docker 交叉编译通过
  • 部署到设备 192.168.50.150,实机验证 Camera 子菜单 + Resolution 选择界面箭头不再遮字、长文本正常跑马灯

Made with Cursor

In the Settings sub / value screens the blue drill-in arrow could land
on top of the right-column text when the left label was wide (e.g.
"Camera > Resolution", or "Resolution > 1280x720"), and long labels
collided instead of scrolling.

- Draw the arrow behind the row text (above the highlight bar) with a
  guaranteed 4px gap, and shrink it slightly (~87.5%).
- Center the arrow vertically using its scaled height.
- Keep the overflowing (marquee) value box centered on its column
  instead of drifting left.
- Clamp + marquee the value screen's left label so long names no longer
  run into the arrow / value column.

Co-authored-by: Cursor <cursoragent@cursor.com>
@eggfly eggfly merged commit 4074063 into master Jul 1, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant