rivo

Results 259 comments of rivo

`Flex` is basically that. But it's not scrollable. The question with these suggestions is: How would you control the scrolling? Let's say one of the contained elements is a `TextArea`...

Actually, the main problem is not so much the navigation itself — I'd argue that you can do this today by removing/adding items from a `Flex` as needed, resulting in...

FYI, I added a very simple chat application which illustrates how you might deal with flexible paragraphs: https://github.com/rivo/tview/tree/master/demos/textview/chat

> BTW, the chat demo uses the `(*tview.TextView).GetRegions` function, which does not exist. It does for me: https://github.com/rivo/tview/blob/4cdaaa9bd6f6dcf226f43644d00f6b5703d69a8b/textview.go#L823

Can I ask what your own "selection system" does that is currently not supported by `tview`?

You closed this. Does that mean that it works in the latest version?

CSS `flex-start` is a keyword used in multiple contexts so I'm not sure which one you're referring to. I would even argue that `justify-content: flex-start` is the default in `tview`'s...

Please include a brief code snippet that allows me to reproduce this issue.

https://pkg.go.dev/github.com/rivo/tview#InputField.SetFieldWidth Setting it to a non-zero value should get you what you want. (If I understand you correctly.)