iris commented on pull request iris/iris#16 2026-09-14 00:16:00 -04:00
Size a widget while drawing it, not in a pass of its own

shouldn't it just be the return type of draw if every one must??

iris commented on pull request iris/iris#16 2026-09-14 00:16:00 -04:00
Size a widget while drawing it, not in a pass of its own

should this be per axis?

iris commented on pull request iris/iris#16 2026-09-14 00:16:00 -04:00
Size a widget while drawing it, not in a pass of its own

shouldn't deps be per axis?

iris commented on pull request iris/iris#16 2026-09-14 00:16:00 -04:00
Size a widget while drawing it, not in a pass of its own

why is this different from regular widget_at? why doesn't widget_at contain these?

iris commented on pull request iris/iris#16 2026-09-14 00:16:00 -04:00
Size a widget while drawing it, not in a pass of its own

setting twice should be fine, eg. if you learn new info and branch. not sure why that should be guarded?

iris commented on pull request iris/iris#16 2026-09-14 00:16:00 -04:00
Size a widget while drawing it, not in a pass of its own

please note that this will change once alignment is built in. Right now it's hacky where it translates based on top left.

iris pushed to main at iris/iris 2026-09-13 22:05:03 -04:00
43ce8c7d02 Route pointer input per kind, so a scroll falls through a hovered button (#12)
iris merged pull request iris/iris#12 2026-09-13 22:05:03 -04:00
Route pointer input per kind, so a scroll falls through a hovered button
iris commented on pull request iris/iris#12 2026-09-13 22:04:46 -04:00
Route pointer input per kind, so a scroll falls through a hovered button

don't mention run_event here. In general I wouldn't reference other methods unless they're particularly important or notable for the one the doc is on, because it's another easy way to end up with stale docs.

iris pushed to main at iris/iris 2026-09-13 21:53:55 -04:00
c8ac669f95 Run a ui without a window, and test one (#15)
iris merged pull request iris/iris#15 2026-09-13 21:53:55 -04:00
Run a ui without a window, and test one
iris approved iris/iris#15 2026-09-13 21:53:30 -04:00
Run a ui without a window, and test one
iris suggested changes for iris/iris#15 2026-09-13 21:40:49 -04:00
Run a ui without a window, and test one
iris commented on pull request iris/iris#15 2026-09-13 21:40:49 -04:00
Run a ui without a window, and test one

we should impl partialeq for pixelregion so this check can happen properly / harder to mix up order

iris suggested changes for iris/iris#15 2026-09-13 21:22:06 -04:00
Run a ui without a window, and test one
iris commented on pull request iris/iris#15 2026-09-13 21:22:06 -04:00
Run a ui without a window, and test one

how about assert_corners!(harness, id, top_left, bot_right)? Unsure how familiar you are with macros, but you can say "pub use " to export them.

iris commented on pull request iris/iris#15 2026-09-13 21:22:06 -04:00
Run a ui without a window, and test one

should probably not be a directory until it actually gets big enough, assuming you don't already have concrete plans.

iris commented on pull request iris/iris#15 2026-09-13 21:22:06 -04:00
Run a ui without a window, and test one

comment should be obsolete after method rename

iris commented on pull request iris/iris#15 2026-09-13 21:22:06 -04:00
Run a ui without a window, and test one

how about request_redraw_if_needed?