I am building an application with tview as UI. So far I have no problems understanding the tutorials, but I do not know how to make UI using tviews to achieve the following desired effect.
UI has root element (grid), which has one main element in the middle (width is 100% window width) where it renders the main content of the application. Content consists of several smaller boxes with data, each with a fixed height and width, but boxes are not the same size. I would like to achieve that these nested elements/boxes are placed in rows according to how much of them can fit on each row, depending on how the user resizes the window.
This is common effect in many modern UI frameworks. Is it possible to achieve something similar in tview? Or is there any extension that can achieve this?
Thanks for any help.
I am building an application with tview as UI. So far I have no problems understanding the tutorials, but I do not know how to make UI using tviews to achieve the following desired effect.
UI has root element (grid), which has one main element in the middle (width is 100% window width) where it renders the main content of the application. Content consists of several smaller boxes with data, each with a fixed height and width, but boxes are not the same size. I would like to achieve that these nested elements/boxes are placed in rows according to how much of them can fit on each row, depending on how the user resizes the window.
This is common effect in many modern UI frameworks. Is it possible to achieve something similar in tview? Or is there any extension that can achieve this?
Thanks for any help.