Expand description
Default ScrollBarStyle impl driven by paint-recipe data.
RecipeScrollBarStyle ships three visual variants (parallel to the
widget’s historical ScrollBarVisual):
Permanent— full track + thumb, always visible. SingleFullBarPainterchild sized to the parent’s slot.Overlay— thin idle indicator that cross-fades to the full bar on hover/drag. TwoFade-wrapped painters share the slot; theactivesignal flips when eitheris_hoveredoris_dragginggoes true.Thin— thin idle indicator only. OneThinIndicatorPainterchild.
The parent ScrollBar widget owns input handling (drag, track click,
keyboard, hover) and bounds caching; this style only paints.
Structs§
- Recipe
Scroll BarStyle - Default
ScrollBarStyleshipped with Teksilo. Colors come fromtheme.colors.scrollbar_*. - Scroll
BarRecipe - Configurable dimensions for
RecipeScrollBarStyle.