Skip to content

Align editor toolbar buttons and sidebar graph switch - #99

Open
tiensonqin wants to merge 1 commit into
mainfrom
fix/native-editor-sidebar-layout
Open

tiensonqin wants to merge 1 commit into
mainfrom
fix/native-editor-sidebar-layout

Conversation

@tiensonqin

Copy link
Copy Markdown
Contributor

The sidebar graph switch could collapse to a 44-point control, causing graph names such as My notes to render beyond the left edge. Give the menu a bounded width and let its label fill that space while preserving room for Settings.

Keep the Code/Calculator new-block toolbar action, with the same button size and style as adjacent controls on iOS and Android. On iOS its icon now uses the smaller default size.

Validation:

  • dune build @shared/native/runtest: 1192 tests passed, including toolbar style and action checks for both native backends.
  • iOS Release simulator build passed.
  • iOS 27 native sidebar checks passed for short and long graph names, followed by opening Settings. The layout check fails against the previous 44-point menu.

The iPad simulator stalled during boot, so the updated layout has not been revalidated on iPad in this change.

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