Closed dhardy closed 6 months ago
Adds a trait representing a "list of widgets", e.g. Vec<W> or a struct where each field is a widget.
Vec<W>
Adds kas::collection! to generate an anonymous implementation and instance of a Collection.
kas::collection!
Collection
Adjusts List and Splitter widgets to use Collection; as such they no longer have the restriction that each child must have the same type.
List
Splitter
Uses this to rewrite the Gallery's editor to use a Splitter and not use a custom widget.
Adds a trait representing a "list of widgets", e.g.
Vec<W>
or a struct where each field is a widget.Adds
kas::collection!
to generate an anonymous implementation and instance of aCollection
.Adjusts
List
andSplitter
widgets to useCollection
; as such they no longer have the restriction that each child must have the same type.Uses this to rewrite the Gallery's editor to use a
Splitter
and not use a custom widget.