mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-14 14:41:52 +00:00
Short of room, the Control bar drew the Fill and Stroke chips, the Stroke link and weight field, the width profile, the Opacity field and the Graphic Style controls past the panel menu button. Docked, the bar then left the panel menu out; floating, it cut a control in half. - Each of those controls now shows only while the bar has room for all of it. The bar draws them from left to right, each only when the room left still holds it, so the Opacity link and field can still show after a Stroke link and weight field that did not fit. - The Snapping menu, the selection's label, the Convert and Anchors groups, the isolation button, Document Setup and Preferences show only while they fit, and a group separator only while it has room. Test: the_control_bar_s_controls_stay_inside_the_bar_in_a_narrow_window checks widths from 150 to 1500 points, docked top and bottom and floating.