rivo

Results 259 comments of rivo

When I'm trying your code, it does what it's supposed to do: After pressing Enter `otherButton` is the same text ("Other") but with a red label. So I'm not sure...

There's currently no way to do this, as far as I know.

You could call [`GetRect`](https://pkg.go.dev/github.com/rivo/tview#Box.GetRect) on the contained item to get the size.

I don't think `tview` can be used without using the entire screen. It's based on [`tcell`](https://github.com/gdamore/tcell) which is a library for full-screen applications. But if you're ok with using the...

There is no way to place a widget such as a DropDown in a table cell. You would have to place it somewhere outside the table.

Well, I guess I was a bit quick to say that because while I still think it may be possible, it might be difficult to be made to work. Regions...

With the `TextArea`, you could set [max-length](https://pkg.go.dev/github.com/rivo/tview#TextArea.SetMaxLength) to 1 or something. But thinking about it some more, I don't think it's a great solution. `TextArea` is made for text input...

@quantonganh The answers to all of your questions are given in this thread further above.

@indeed999 As @digitallyserviced mentioned, you'll want to use `Pages` to put primitives on top of each other. And you can always call `SetRect()` to set a specific screen position. (IMO,...

Can you give some details how this would help you in your specific application? There is [`Walk()`](https://pkg.go.dev/github.com/rivo/tview#TreeNode.Walk) which is a public function, which also gives you parent information for each...