Organizing the Interface’s Layout
Once you have all the widgets for your interface, you need to organize and lay them out logically to compose the user interface.
In Termdash you define the dashboard layout using containers represented by the type container.Container. Termdash requires at least one container to start the application. You can use multiple containers to split the screen and organize the widgets.
You can create the containers in two different ways: using the container package to split containers resulting in a binary tree layout; or using the grid package to define a grid of rows and columns. You can find more information about the Container API on the Termdash wiki.[59]
For this application, you’ll organize the layout using ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access