Ribbon: an option to fold it to its tab row (#10112) (#10214)

* 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:
raykholo
2026-11-05 03:42:58 +00:00
committed by GitHub
parent 733f0b2254
commit b916f9bf33
17 changed files with 381 additions and 26 deletions
+8
View File
@@ -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