mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-22 18:34:42 +01:00
Most scrolling lists in panels and dialogs (Swatches, History, Artboards, Graphic Styles, Preferences and others) used egui's default floating scroll bar, which draws nothing until the pointer is over the list, so nothing showed that a list had more rows. The theme now gives every scroll area the slim bar that menus, the Layers list and panel bodies already use: it shows whenever there is more to scroll to, in a column of its own beside the rows. Scroll areas that set their own style keep it. The toolbar's and the dock icon column's 2 pt scroll line now shows at rest too, and still never grows wider than 4 pt (#808). The Color Picker's swatch list leaves room for the bar inside the list instead of widening the dialog. The Glyphs panel's grids count their columns in the room beside the bar while their rows run past the list, so the last cell of a row no longer pushes the bar past the panel's edge, and use the whole width when the rows fit.