mirror of
https://github.com/storytold/craft-libs.git
synced 2026-12-01 02:36:54 +01:00
A host that shows the stroke editor inside its own FieldGroup, next to rows of its own, got two label columns. The editor put its Alignment, Caps, Corners, Miter limit and Opacity rows in a FieldGroup of its own, and the Dash offset row in another, so their controls started at the editor's widest label instead of the host group's. StrokeEditor::host_labels(true) shows those rows in a stack that fills the width, which passes the host group's label column through. The controls of the editor's rows, the app's choice rows and the Align dashes row then start where the controls of the host's rows start. The default is unchanged: without the option each group keeps its own label column. Test: host_labels_start_the_editor_rows_at_the_host_groups_control_edge in crates/draw/tests/it/stroke_editor.rs.