summaryrefslogtreecommitdiff
path: root/toolkit/gocui/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-04-26 09:21:11 -0500
committerJeff Carr <[email protected]>2023-04-26 09:21:11 -0500
commite0269b216e1bbd04c1f2f8d6f9e6f3140a219870 (patch)
tree2c782ca81becbf7ca18f068e3f531b659b2bfe1e /toolkit/gocui/structs.go
parent7af6242cbfbd2d18461415e8421146f94093e8ca (diff)
gocui: windows & tabs in seperate rows
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/gocui/structs.go')
-rw-r--r--toolkit/gocui/structs.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/toolkit/gocui/structs.go b/toolkit/gocui/structs.go
index 9cc4eb8..a772d8a 100644
--- a/toolkit/gocui/structs.go
+++ b/toolkit/gocui/structs.go
@@ -51,10 +51,13 @@ type config struct {
PadH int `default:"1" dense:"0"`
// additional amount of space to put between window & tab widgets
- TabPadW int `default:"2" dense:"0"`
+ WindowPadW int `default:"8" dense:"0"`
+ TabPadW int `default:"4" dense:"0"`
// how far down to start Window or Tab headings
- WindowH int `default:"1" dense:"0"`
+ WindowW int `default:"20" dense:"0"`
+ WindowH int `default:"0" dense:"0"`
+ TabW int `default:"2" dense:"0"`
TabH int `default:"2" dense:"0"`
// additional amount of space to indent on a group