diff options
| author | a-kenji <aks.kenji@protonmail.com> | 2021-08-21 23:27:23 +0200 |
|---|---|---|
| committer | a-kenji <aks.kenji@protonmail.com> | 2021-08-21 23:27:23 +0200 |
| commit | 88b4063879845cf53397f60201473ce386280cfe (patch) | |
| tree | 2451496e64350111d503673bcdac11a4f2b5d6a6 /example | |
| parent | Change layout panics to errors (diff) | |
| download | sl0ppij-88b4063879845cf53397f60201473ce386280cfe.tar.gz sl0ppij-88b4063879845cf53397f60201473ce386280cfe.tar.xz sl0ppij-88b4063879845cf53397f60201473ce386280cfe.zip | |
Add `template` section in `layout` file
It works as follows:
```
---
template:
direction: Horizontal
parts:
- direction: Vertical
split_size:
Fixed: 1
run:
plugin: tab-bar
- direction: Vertical
body: true
- direction: Vertical
split_size:
Fixed: 2
run:
plugin: status-bar
tabs:
- direction: Vertical
```
The tabs are created in the body section of the template.
Diffstat (limited to 'example')
0 files changed, 0 insertions, 0 deletions
