Jonathan Kelley

Results 175 comments of Jonathan Kelley

I got some of it working with the column injection from #158, but when it goes to render the view I get "Must set a field for x axis" which...

When I was thinking about ripping out measure_func, the API I had in mind was passing in a closure that returned a Size when requested of a Node. ```rust fn...

> > Would a more passive API like this fit your use case? Are you able to link up the Taffy Node back to the Node from your tree? >...

Do you think this paradigm could fit your app? So, instead of Taffy worrying about the DataToBeMeasured, it just lets you defer to your implementation through the supplied measurefunc? It...

> > Do you think this paradigm could fit your app? > > So, instead of Taffy worrying about the DataToBeMeasured, it just lets you defer to your implementation through...

> Bevy would use `Entity` here, which can be stored as a `u64`; although we may need to make some changes downstream to make sure that the coercion required is...

> > How are your properties stored? It sounds like you don't have any Nodes - or at least they're not accessible from a key? > > I have the...

I pattern I use a lot in my projects is passing state into methods rather than storing them in the structures directly. So we could have `compute_measured_layout` that passes a...

I would like to tackle removing measurefunc from being built into Taffy, but rather passed in via a more specific compute_layout. This method would be generic over function so we...

I'm going to take a stab at this, and move our existing storage abstraction to something like a TaffyECS type. We could then make a `TaffyECS` type to extend Taffy...