Add feedback components 106-130; inert scope, focus return, two-step deploy

This commit is contained in:
ZacharyZhang-NY committed 2026-10-11 20:58:30 -04:00
1 parent bce416182e
commit bd3877e1b1
87 files changed
+2492 -147

No files matched your search

+2 -2
View File
@@ -18,8 +18,8 @@ type MasonryOptions struct {
// Masonry puts each item into the shortest column.
func Masonry(c *ui.Context, heights []int, o MasonryOptions, item func(i int)) *ui.Element {
k := pixel.K(c)
gap := orDef("Masonry Gap", o.Gap, 4)
n := orDef("Masonry Columns", o.Columns, 3)
gap := pixel.Or("Masonry Gap", o.Gap, 4)
n := pixel.Or("Masonry Columns", o.Columns, 3)
cols := lanes(heights, n, gap)
row := ui.Row(c).FillWidth().Gap(k.D(gap)).AlignItems(ui.Start)
w, check := pixel.WrapWidth(c, row)