anyuianyui
anyui-LIVE
anyui
Feedback
  • English
  • 中文
anyui-LIVE
anyui
Feedback
  • English
  • 中文
  • Introduction

    • Introduction
  • Get Started

    • Get Started
  • Workspace

    • Workspace
  • Editor

    • Overview
    • Toolbar
    • Navigator
    • Inspector
    • Display Layers
    • Event Flow Overview
    • Statusbar
    • Settings
    • Keyboard shortcuts
    • Canvas
    • Preview
    • Resource management
    • Code Viewer
    • History
  • Agent
  • Desktop
  • Data safety
  • Subjects

    • Image
    • Font Library
    • Layout
    • Symbol
    • Animation
    • Global style
    • Dynamic LVGL version
    • Dynamic Display Size Change
    • Override screen size
    • Codegen
    • User custom code
    • Transplant
    • Simulator
    • Translation
  • FAQ

The navigator organizes the current project. It lists the project's screens and the widgets inside the active one, and it keeps the reusable components in a Symbols tab.

Screen list

The screen list is the part headed Screens. Selecting a screen makes it the active screen shown on the canvas. The list supports:

  • New - add a screen. While the list shows a layer that already has its screen, this is unavailable.
  • Duplicate - copy the selected screen.
  • Move up / Move down - shift the selected screen within the list.
  • Delete - remove the selected screen. A project keeps at least one screen, so this is unavailable once a single screen is left.
  • Search - filter the list by screen name.
  • Reorder by dragging - drag a screen to a new position. Screens stay side by side; a screen cannot be nested inside another.

One screen is selected at a time, and the list's actions always address the screen you can see in it.

Display layer

Above the screen list sits a Display layer heading with the rows System layer, Top layer, Screen layer, and Bottom layer. These choose which set of screens the list shows:

  • Screen layer is always there and holds the project's normal pages.
  • A layer row appears as soon as one screen is authored onto that layer, and disappears when that screen is deleted.
  • New layer, next to the heading, creates the screen of a layer that is still free and that the project's target LVGL version provides. Delete layer removes the screen the current layer row is showing.
  • A synthesize toggle sits first among the heading's actions. It is off by default, so the canvas shows only the selected layer's own screen; turn it on to composite every layer on the canvas the way the device draws it. Preview always composites.
  • Picking a row moves the cursor with you: entering a layer selects its screen, and returning to Screen layer selects the first normal screen.

Screen list order matters for layers as well - the first screen that claims a layer owns it. See the Display Layers guide for what each layer is for and how a layer screen is exported.

Widget tree

Below the screen list, the Widgets tree lists the widgets of the active screen in their hierarchy. It supports:

  • Selection - click to select a widget; multi-select with Shift/Ctrl/Cmd clicks.
  • Add from the widget bar - drag a widget from the widget bar and drop it on a row to make it that row's child.
  • Reparent via drag-and-drop - drag an existing row onto a new parent to change the hierarchy. A drop the widget cannot honour is refused and the tree is left as it was.
  • Duplicate - duplicate the selected widgets.
  • Delete - remove the selected widgets.
  • Search - filter by name, widget type, or id.
  • Hover highlight - hovering a tree row highlights the matching widget on the canvas (when enabled).

Every row ends with an eye button and a lock button:

  • Eye hides or shows the widget. A hidden row shows the crossed-out eye in the theme color, and the Inspector reports the state instead of offering its rows.
  • Lock protects the widget from edits. A locked row shows the lock in the theme color, and the Inspector is covered until you unlock it.

How a parent affects its children

Visibility and lock both reach down the tree, but they behave differently:

  • Hiding a parent hides its whole subtree on the canvas: its children are not painted, hovered, or selected there. Only the row you hid carries the hidden mark; show it again and the subtree returns.
  • Locking a parent protects its whole subtree: every descendant is marked locked in the tree, identified as locked by its parent, and the editor refuses edits, moves, deletion, reparenting, and reordering under it. Only the widget that holds the lock wears the lock badge on the canvas, so a locked container marks itself rather than every child inside it.
  • A locked widget can still hide or show itself and unlock itself. A child that is only locked through a parent cannot unlock itself from its own row; unlock the ancestor first.
  • Both states are saved with the project.

Names are not edited here: use the Display Name and Identifier Name rows in the Inspector.

Symbols tab

The Symbols tab next to Hierarchy manages reusable components. It lists the project's symbols, and below the library it shows the widget tree of the selected Symbol definition. You create, rename, reorder, and delete Symbols here; selecting a Symbol opens its definition on the canvas, and unsaved drafts are marked in the library.

When a Symbol is placed on a screen, the placed copy stays in that screen's widget tree, while the reusable definition stays in the Symbols tab. See the Symbol guide for the full workflow.

All navigator actions are locked in preview mode.

Related guides

  • Overview - the editor interface as a whole.
  • Display Layers - the layers the screen list is grouped by.
  • Canvas - the visual canvas where screens are designed.
  • Inspector - renaming a widget and editing what it carries.
  • Symbol - create reusable components and place their instances.
Prev
Toolbar
Next
Inspector