thscharler

Results 39 comments of thscharler

Nice! I only skimmed over the diff today, and I'm currently quite busy with other things. Will look at it some time next week.

Ok, I was curious and tried it. It works, almost. If I press Left at the top level of the tree the selection is lost completely. And btw, why did...

What would be great is a list of Rect for all the rendered tree items. This could come out as a side effect of rendering. It would help with mouse...

A list of the rects would be sufficient. I could use the index into this list with `TreeState::select_visible_index()` which would do the thing. Or otherwise something like `TreeState::select_item_at(column, row)` would...

I would suggest using a container widget that manages the scrollbars and can implement common behaviour. It would use the following two traits, one for the widget and one for...

## Example I tried this, and here are the docs: [ScrolledWidget](https://thscharler.github.io/rat-salsa/doc/rat_salsa/trait.ScrolledWidget.html) [HasScrolling](https://thscharler.github.io/rat-salsa/doc/rat_salsa/trait.HasScrolling.html) the widget: [Scrolled](https://thscharler.github.io/rat-salsa/doc/rat_salsa/widget/scrolled/struct.Scrolled.html) I wrote adapters for List, Table, Paragraph and just to see if it works for...

This list was put up as requirements: ## Features of solution * Will be used by each ratatui widgets that currently scroll: Paragraph, List, Table Yes * Can be used...

> > How would infinite scroll be handled? > > What's meant with that one? > > to my knowledge infinite scroll is basically loading more content on-demand seamlessly without...

Update on * Can be used by those that don't currently: Calendar, Barchart, Chart, Sparkline? Looked into creating a Viewport that renders into a temp buffer. This would work fine...