* Ribbon: an option to fold it to its tab row (#10112) Preferences > Layout > "Show only the ribbon's tabs" (off by default), the Ribbon Tabs Only command (view.ribbon_tabs_only), and its settings-profile key. Rebuilt on main's redesigned Layout page. * Ribbon Tabs Only: switching tabs with a panel menu open no longer keeps the overlay open (#10112) A tab click now forgets the open panel drop-down of the previous tab, so the pointer leaving or Escape still closes the overlay. * Ribbon Tabs Only: count its settings-profile key in the profile membership test (#10112)
This commit is contained in:
@@ -221,6 +221,14 @@ The bar is empty, and so not shown, until a command is added, and holds up to 24
|
||||
windows hide it with Undo and Redo. It is saved with the toolbar's customisations, so it is
|
||||
exported with the keyboard shortcuts and carried by settings profiles.
|
||||
|
||||
Layout › **Show only the ribbon's tabs** (off by default) folds the ribbon to its tab
|
||||
row, so the view gets the room its panels took. Click a tab to show its panels over the view; they
|
||||
close again when a command starts, when the pointer leaves them, when Escape is pressed or when the
|
||||
open tab is clicked again. The command **Ribbon Tabs Only** (VIEW tab, the toolbar's right-click
|
||||
menu and command search) switches the option, so it can be given a key in Keyboard Shortcuts:
|
||||
choose it again to keep the whole ribbon shown. Scripts run `view.ribbon_tabs_only` with
|
||||
`{"on": true}` or `{"on": false}`, or with no parameters to switch.
|
||||
|
||||
Interface › Layout › **Show origin and bodies at the top** (off by default) puts the active
|
||||
component's Bodies folder and the Origin (planes, axes and point) at the top of the History when
|
||||
it sits on the left or under the browser and is wide enough for names. They are the browser's own
|
||||
|
||||
@@ -152,6 +152,10 @@ Sketch's Finish group reserves space at the far right even when other groups col
|
||||
|
||||
Additional handles: `ribbon:workspace`, `ribbon:search`, and `ribbon:section:<TAB>:<SECTION>`. Existing workspace, tab, panel, collapsed, family and command handles remain available. Layout evidence also publishes rectangles for these handles, `button:<command id>`, and the open `ribbon:search_popup`.
|
||||
|
||||
## Folded ribbon
|
||||
|
||||
`ribbon_tabs_only` (Preferences › Layout, off by default; `view.ribbon_tabs_only` switches it) keeps only the 30 px tab row, plus its 1 px line, from the view: `toolbar::reserved_height` gives the shell that height, in both layouts. The workspace column shows its name and arrow on one line. A tab's click opens the whole ribbon of that tab over the view in a Chrome area at the same place and size it has when not folded; nothing below it moves. It closes when a command starts (`SolveApp::start`), when the pointer leaves it (an open section list, a menu or a dragged button keep it open), on Escape, or when the open tab is clicked again. Render keeps its stage bar whole. Rectangles: `ribbon:folded` while folded, `ribbon:open` while open; the handles inside are the usual ones.
|
||||
|
||||
## Workspace and section lists
|
||||
|
||||
The workspace popup is 470 px wide, anchored below the workspace column. Design and Render keep their existing menu actions and enablement; planned workspaces cannot be selected. Each row also publishes `workspace:menu:<design|render|animation|simulation|manufacture|drawing>`. The constraint cells publish `ribbon:constraint:<command id>` alongside their existing `button:` and `toolbar:` handles. No icon assets or command ids were added.
|
||||
|
||||
Reference in New Issue
Block a user