Files
craft-libs/docs
skylartaylor d468b0f790 tabs: panel tabs can shrink to a readable prefix ending in an ellipsis
Panel tabs shrink to their title's first three letters and clip the label at
the tab's edge, so a narrow dock column reads "Colo", "Swa", "Gra". Add
PanelTabShrink, a strip's choice (TabStrip::panel_shrink) that a dock makes
for its groups (DockConfig::tab_shrink). Under PanelTabShrink::Ellipsis a
panel tab shrinks no further than its label's readable least
(TextRun::READABLE_CHARACTERS and an ellipsis), a cut label ends in an
ellipsis, and the tabs that do not fit at that width go to the strip's
overflow menu. The default, FirstLetters, keeps today's behaviour.

Trial: panel_tabs_shrinking_to_an_ellipsis_keep_a_readable_prefix_and_overflow_the_rest.
2026-11-24 16:51:32 +01:00
..
2026-11-19 10:33:55 +00:00