Since ratatui doesn't provide a way to stack the Tabs title in a vertical way a solution could be to implement a wrapper on the List (stateful List) and Tabs that draws (render) differently based on the selected orientation.
Here there is a minimal example with the basic Listwidget:
This example still does not have the select feature on the list.
A question would be if the key bindings should change too as the k, j are used to scroll the task content.
Perfect, love vim, everything that resembles it’s fantastic.
Ok.
If I’ve understood you mean the log content. If this is the case the text wrap as layout changes and/or the menu disappear so will be not a problem.
For switching from Menu mode to Show mode I’ve simply put ‘m’ and ‘tab’ for changing layout between horizontal and vertical.
Here you have a simple gif/demo
I've simply replaced the logs with custom mocks.
Waiting for feedback
Since ratatui doesn't provide a way to stack the
Tabs
title in a vertical way a solution could be to implement a wrapper on theList
(stateful List) andTabs
that draws (render) differently based on the selected orientation. Here there is a minimal example with the basicList
widget: This example still does not have the select feature on the list. A question would be if the key bindings should change too as thek
,j
are used to scroll the task content.