Expand description
Tabs: workbench and panel tabs with a sliding accent underline, and document tabs as pills joined to the content below. Tabs never squash or wrap: the ones that do not fit go into a chevron menu.
Structs§
- Document
Tab - One open document.
- Document
Tabs Output - TabBar
Output - What a tab row drew: each visible tab’s rect (for hit keys), the overflow chevron’s rect when there is one, and whether the selection changed.
Functions§
- document_
tabs - Document tabs: pills on
bg.app; the active one onbg.panel, joined to the content below. The close × shows on hover and always on the active tab. - tab_bar
- Workbench and panel tabs: text on a transparent row; the active tab in
text.primaryover a 2 px accent underline that slides to the new tab. - tab_
bar_ shown tab_barwith one tab drawn in a fixed state (the gallery).